Package org.wildfly.iiop.openjdk.rmi
Class InterfaceAnalysis
- java.lang.Object
-
- org.wildfly.iiop.openjdk.rmi.ClassAnalysis
-
- org.wildfly.iiop.openjdk.rmi.ContainerAnalysis
-
- org.wildfly.iiop.openjdk.rmi.InterfaceAnalysis
-
public class InterfaceAnalysis extends ContainerAnalysis
Interface analysis. Routines here are conforming to the "Java(TM) Language to IDL Mapping Specification", version 1.1 (01-06-07).- Author:
- Ole Husgaard
-
-
Field Summary
-
Fields inherited from class org.wildfly.iiop.openjdk.rmi.ContainerAnalysis
abstractBaseValuetypes, attributes, classHashCode, constants, F_CONSTANT, f_flags, F_SPFFIELD, fields, interfaces, m_flags, M_INHERITED, M_OVERLOADED, M_READ, M_READONLY, M_WRITE, M_WRITEOBJECT, memberPostfix, memberPrefix, methods, mutators, operations, repositoryId
-
Fields inherited from class org.wildfly.iiop.openjdk.rmi.ClassAnalysis
cls
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInterfaceAnalysis(Class cls)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidanalyzeOperations()Analyse operations.protected voidcalculateAllTypeIds()Calculate the array containing all type ids of this interface, in the format that org.omg.CORBA.portable.Servant.protected voidcalculateOperationAnalysisMap()Calculate the map that maps IDL operation names to operation analyses.static voidclearCache(ClassLoader classLoader)protected voiddoAnalyze()String[]getAllTypeIds()protected ArrayListgetContainedEntries()Return a list of all the entries contained here.StringgetIDLName()Return my unqualified IDL name.static InterfaceAnalysisgetInterfaceAnalysis(Class cls)StringgetJavaName()Return my unqualified java name.booleanisAbstractInterface()booleanisRmiIdlRemoteInterface()-
Methods inherited from class org.wildfly.iiop.openjdk.rmi.ContainerAnalysis
analyzeAttributes, analyzeConstants, analyzeFields, analyzeInterfaces, analyzeMethods, attributeReadName, attributeWriteName, calculateClassHashCode, calculateRepositoryId, escapeIRName, fixupCaseNames, fixupOverloadedOperationNames, getAbstractBaseValuetypes, getAttributes, getConstants, getIDLModuleName, getInterfaces, getMemberRepositoryId, getOperations, getRepositoryId, hasNonAppExceptions, isAccessor, isMutator, toHexString, toHexString
-
Methods inherited from class org.wildfly.iiop.openjdk.rmi.ClassAnalysis
getCls
-
-
-
-
Constructor Detail
-
InterfaceAnalysis
protected InterfaceAnalysis(Class cls)
-
-
Method Detail
-
getInterfaceAnalysis
public static InterfaceAnalysis getInterfaceAnalysis(Class cls) throws RMIIIOPViolationException
- Throws:
RMIIIOPViolationException
-
clearCache
public static void clearCache(ClassLoader classLoader)
-
doAnalyze
protected void doAnalyze() throws RMIIIOPViolationException- Overrides:
doAnalyzein classContainerAnalysis- Throws:
RMIIIOPViolationException
-
isAbstractInterface
public boolean isAbstractInterface()
-
isRmiIdlRemoteInterface
public boolean isRmiIdlRemoteInterface()
-
getAllTypeIds
public String[] getAllTypeIds()
-
getContainedEntries
protected ArrayList getContainedEntries()
Return a list of all the entries contained here.- Specified by:
getContainedEntriesin classContainerAnalysis
-
analyzeOperations
protected void analyzeOperations() throws RMIIIOPViolationExceptionAnalyse operations. This will fill in theoperationsarray.- Overrides:
analyzeOperationsin classContainerAnalysis- Throws:
RMIIIOPViolationException
-
calculateOperationAnalysisMap
protected void calculateOperationAnalysisMap()
Calculate the map that maps IDL operation names to operation analyses. Besides mapped operations, this map also contains the attribute accessor and mutator operations.
-
calculateAllTypeIds
protected void calculateAllTypeIds()
Calculate the array containing all type ids of this interface, in the format that org.omg.CORBA.portable.Servant._all_interfaces() is expected to return.
-
getIDLName
public String getIDLName()
Return my unqualified IDL name.
-
getJavaName
public String getJavaName()
Return my unqualified java name.
-
-