/*
@see com.ibm.wsspi.channelfw.InboundChannel#getDiscriminator()
15380
@Override
    public Discriminator getDiscriminator() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
            Tr.event(tc, "getDiscriminator called erroneously on TCPChannel");
        }
        return null;
    }
1256956
@Override
    public long getChannelID(int cic, int dpc) {
        long currValue = dpc;
        currValue = (currValue << 14) + (long) cic;
        return currValue;
    }
186764
public SIMPIterator getConsumerIterator()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getConsumerIterator");

    InvalidOperationException finalE =
      new InvalidOperationException(
        nls.getFormattedMessage(
          "INTERNAL_MESSAGING_ERROR_CWSIP0005",
          new Object[] {"AttachedRemoteSubscriberControl.getConsumerIterator",
              "1:188:1.32",
                        this},
          null));

    SibTr.exception(tc, finalE);
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getConsumerIterator");
    throw finalE;
  }
1141815
public com.google.api.ads.adwords.axis.v201809.cm.PromotionExtensionDiscountModifier getDiscountModifier() {
        return discountModifier;
    }
590541
public boolean getInboundStreamsEmpty()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getInboundStreamsEmpty");

    boolean returnValue = false;
    if(_targetStreamManager!=null)
    {
      returnValue = _targetStreamManager.isEmpty();
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getInboundStreamsEmpty", new Boolean(returnValue));
    return returnValue;
  }
399125
@Override
    public final int getType() {

        if (userTypeModifier == null) {
            throw Error.runtimeError(ErrorCode.U_S0500, "Type");
        }

        return userTypeModifier.getType();
    }
891057
public int getInt() {
        try {
            byte[] rand = fipsGenerator.getBytes(4);
            int result = rand[0];
            for (int i = 1; i < 4; i++) {
                result = (result << 8) | rand[i];
            }
            return result;
        } catch (Throwable ex) {
        	BBPlatform.getPlatform().getLogger().logException("RandomGenerator.getInt() Falling back to RandomSource " + ex.getMessage());
            return RandomSource.getInt();
        }
    }
747391
public Annotation getRangeList(int i) {
    if (OntRelationMention_Type.featOkTst && ((OntRelationMention_Type)jcasType).casFeat_rangeList == null)
      jcasType.jcas.throwFeatMissing("rangeList", "de.julielab.jules.types.OntRelationMention");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((OntRelationMention_Type)jcasType).casFeatCode_rangeList), i);
    return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((OntRelationMention_Type)jcasType).casFeatCode_rangeList), i)));}
754071
void disableDiscriminatorAccessCheckAtSend(String discriminatorAtCreate)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "disableDiscriminatorAccessCheckAtSend");

    _checkDiscriminatorAccessAtSend = false;
    this._discriminatorAtCreate = discriminatorAtCreate;

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "disableDiscriminatorAccessCheckAtSend");
  }
1056466
@Override
    public int discriminate(VirtualConnection vc, ConnectionLink currentChannel, String inputChannelName) {
        Channel channel = null;
        String channelName = null;
        String matchString = (inputChannelName + ChannelDataImpl.CHILD_STRING);
        int result = FAILURE;
        // Iterate the channels of the current list.
        for (int i = 0; channelList != null && i < channelList.length; i++) {
            channel = channelList[i];
            // Find a channel that starts with the name passed in.
            // Note: Runtime channels are children channel data objects with names
            // like name_CFINTERNAL_CHILD_0
            // This is kept hidden from users.
            channelName = channel.getName();
            if (channelName != null && channelName.startsWith(matchString)) {
                // Found the channel. Connect the links.
                ConnectionLink link = channel.getConnectionLink(vc);
                currentChannel.setApplicationCallback(link);
                link.setDeviceLink(currentChannel);
                result = SUCCESS;
                break;
            }
        }
        return result;
    }
1340860
public SIMPIterator getPubSubOutboundTransmitIterator()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getPubSubOutboundTransmitIterator");
    
    //at the moment there should be just one stream set in the manager:
    //therefore this method is misleading. For the moment it will remain
    //deprecated.
    
    SIMPIterator iterator = null;
    //there are only outbound transmitters if the PSOH is not null
    if(_outputHandler!=null)
    {
      InternalOutputStreamManager streamManager = _outputHandler.getInternalOutputStreamManager();
      iterator =
        new BasicSIMPIterator(streamManager.getStreamSetControlIterator(this)); 
    }

    if(iterator==null)
    {
      //return an empty iterator
      iterator =
              new BasicSIMPIterator(new ArrayList().iterator()); 
    }
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getPubSubOutboundTransmitIterator", iterator);
    return iterator;
  }
480265
@Override
    public StandardJavaFileManager getStandardFileManager(
            DiagnosticListener<? super JavaFileObject> diagnosticListener,
            Locale locale,
            Charset charset) {
        Context context = new Context();
        context.put(Locale.class, locale);
        if (diagnosticListener != null)
            context.put(DiagnosticListener.class, diagnosticListener);
        PrintWriter pw = (charset == null)
                ? new PrintWriter(System.err, true)
                : new PrintWriter(new OutputStreamWriter(System.err, charset), true);
        context.put(Log.outKey, pw);
        return new JavacFileManager(context, true, charset);
    }
957156
private Set<Discriminator> getAggregatedDiscriminators(EntityTypeMetadata<EntityMetadata> typeMetadata) {
        Set<Discriminator> discriminators = aggregatedDiscriminators.get(typeMetadata);
        if (discriminators == null) {
            discriminators = new HashSet<>();
            Discriminator discriminator = typeMetadata.getDatastoreMetadata().getDiscriminator();
            if (discriminator != null) {
                discriminators.add(discriminator);
            }
            for (EntityTypeMetadata<EntityMetadata> superTypeMetadata : aggregatedSuperTypes.get(typeMetadata)) {
                discriminator = superTypeMetadata.getDatastoreMetadata().getDiscriminator();
                if (discriminator != null) {
                    discriminators.add(discriminator);
                }
            }
            aggregatedDiscriminators.put(typeMetadata, discriminators);
        }
        return discriminators;
    }
1310227
public static int d(String msg) {
        // This is a quick check to avoid the expensive stack trace reflection.
        if (!activated) {
            return 0;
        }

        String caller = LogHelper.getCaller();
        if (caller != null) {
            return d(caller, msg);
        }
        return 0;
    }
593790
@Override
    public int position() {
        // if we are in transferTo mode, then this is the FileChannel position
        if (isFCEnabled()) {
            try {
                return (int) fc.position();
            } catch (IOException e) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Exception in position(): " + e);
                }
                FFDCFilter.processException(e, CLASS_NAME + ".position", "656", this);
                throw new RuntimeException(e);
            }
        }
        return super.position();
    }
764778
public NumberGenerator getNumberGenerator()
    {
        NumberGenerator ret = null;
        try {
            ret =  NumberGenerator.get(this.uuid);
        } catch (final EFapsException e) {
            LOG.error("Error on retrieving MsgPhrase for CIMsgPhrase with uuid: {}", this.uuid);
        }
        return ret;
    }
1335037
public boolean checkDiscriminatorAccess(
    SecurityContext secContext,
    OperationType operation) 
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(
        tc,
        "checkDiscriminatorAccess",
        new Object[] { secContext, operation });

    // We don't apply discriminator access checks to foreign destinations
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "checkDiscriminatorAccess", Boolean.valueOf(true));

    return true; 
  }