/** * Add a set of abstract valuetypes to the IR. * * @return An array of the IR IDs of the abstract valuetypes. */ private String[] addAbstractBaseValuetypes(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { ValueAnalysis[] abstractValuetypes = ca.getAbstractBaseValuetypes(); List abstract_base_valuetypes = new ArrayList(); for (int i = 0; i < abstractValuetypes.length; ++i) { ValueDefImpl vdi = addValue(abstractValuetypes[i]); abstract_base_valuetypes.add(vdi.id()); } String[] strArr = new String[abstract_base_valuetypes.size()]; return (String[]) abstract_base_valuetypes.toArray(strArr); }
/** * Get a reference to the special case mapping for java.lang.Class. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.11. */ private ValueDefImpl getJavaxRmiCORBAClassDesc() throws IRConstructionException, RMIIIOPViolationException { if (javaxRmiCORBAClassDesc == null) { // Just map the right value class ValueAnalysis va = ValueAnalysis.getValueAnalysis(javax.rmi.CORBA.ClassDesc.class); ValueDefImpl val = addValue(va); // Warn if it does not conform to the specification. if (!"RMI:javax.rmi.CORBA.ClassDesc:B7C4E3FC9EBDC311:CFBF02CF5294176B".equals(val.id())) IIOPLogger.ROOT_LOGGER.warnClassDescDoesNotConformToSpec(); javaxRmiCORBAClassDesc = val; } return javaxRmiCORBAClassDesc; }
ValueDefImpl vDef = addValue(ea);
ValueAnalysis superAnalysis = va.getSuperAnalysis(); if (superAnalysis != null) superValue = addValue(superAnalysis);
/** * Add a set of abstract valuetypes to the IR. * * @return An array of the IR IDs of the abstract valuetypes. */ private String[] addAbstractBaseValuetypes(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { ValueAnalysis[] abstractValuetypes = ca.getAbstractBaseValuetypes(); List abstract_base_valuetypes = new ArrayList(); for (int i = 0; i < abstractValuetypes.length; ++i) { ValueDefImpl vdi = addValue(abstractValuetypes[i]); abstract_base_valuetypes.add(vdi.id()); } String[] strArr = new String[abstract_base_valuetypes.size()]; return (String[]) abstract_base_valuetypes.toArray(strArr); }
/** * Add a set of abstract valuetypes to the IR. * * @return An array of the IR IDs of the abstract valuetypes. */ private String[] addAbstractBaseValuetypes(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { ValueAnalysis[] abstractValuetypes = ca.getAbstractBaseValuetypes(); List abstract_base_valuetypes = new ArrayList(); for (int i = 0; i < abstractValuetypes.length; ++i) { ValueDefImpl vdi = addValue(abstractValuetypes[i]); abstract_base_valuetypes.add(vdi.id()); } String[] strArr = new String[abstract_base_valuetypes.size()]; return (String[]) abstract_base_valuetypes.toArray(strArr); }
/** * Get a reference to the special case mapping for java.lang.Class. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.11. */ private ValueDefImpl getJavaxRmiCORBAClassDesc() throws IRConstructionException, RMIIIOPViolationException { if (javaxRmiCORBAClassDesc == null) { // Just map the right value class ValueAnalysis va = ValueAnalysis.getValueAnalysis(javax.rmi.CORBA.ClassDesc.class); ValueDefImpl val = addValue(va); // Warn if it does not conform to the specification. if (!"RMI:javax.rmi.CORBA.ClassDesc:B7C4E3FC9EBDC311:CFBF02CF5294176B".equals(val.id())) IIOPLogger.ROOT_LOGGER.warnClassDescDoesNotConformToSpec(); javaxRmiCORBAClassDesc = val; } return javaxRmiCORBAClassDesc; }
/** * Get a reference to the special case mapping for java.lang.Class. * This is according to "Java(TM) Language to IDL Mapping Specification", * section 1.3.5.11. */ private ValueDefImpl getJavaxRmiCORBAClassDesc() throws IRConstructionException, RMIIIOPViolationException { if (javaxRmiCORBAClassDesc == null) { // Just map the right value class ValueAnalysis va = ValueAnalysis.getValueAnalysis(javax.rmi.CORBA.ClassDesc.class); ValueDefImpl val = addValue(va); // Warn if it does not conform to the specification. if (!"RMI:javax.rmi.CORBA.ClassDesc:B7C4E3FC9EBDC311:CFBF02CF5294176B".equals(val.id())) IIOPLogger.ROOT_LOGGER.warnClassDescDoesNotConformToSpec(); javaxRmiCORBAClassDesc = val; } return javaxRmiCORBAClassDesc; }
ValueDefImpl vDef = addValue(ea);
ValueDefImpl vDef = addValue(ea);
ValueAnalysis superAnalysis = va.getSuperAnalysis(); if (superAnalysis != null) superValue = addValue(superAnalysis);
ValueAnalysis superAnalysis = va.getSuperAnalysis(); if (superAnalysis != null) superValue = addValue(superAnalysis);