Package org.wildfly.iiop.openjdk.rmi
Class ValueAnalysis
- java.lang.Object
-
- org.wildfly.iiop.openjdk.rmi.ClassAnalysis
-
- org.wildfly.iiop.openjdk.rmi.ContainerAnalysis
-
- org.wildfly.iiop.openjdk.rmi.ValueAnalysis
-
- Direct Known Subclasses:
ExceptionAnalysis
public class ValueAnalysis extends ContainerAnalysis
Value 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 protectedValueAnalysis(Class cls)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidanalyzeAttributes()Analyse attributes.static voidclearCache(ClassLoader classLoader)protected voiddoAnalyze()protected ArrayListgetContainedEntries()Return a list of all the entries contained here.StringgetIDLModuleName()Return the fully qualified IDL module name that this analysis should be placed in.StringgetIDLName()Return my unqualified IDL name.StringgetJavaName()Return my unqualified java name.ValueMemberAnalysis[]getMembers()Return the value members of this value class.ValueAnalysisgetSuperAnalysis()Returns the superclass analysis, or null if this inherits from java.lang.Object.static ValueAnalysisgetValueAnalysis(Class cls)booleanisAbstractValue()Returns true if this value is abstract.booleanisCustom()Returns true if this value is custom.booleanisExternalizable()Returns true if this value implements java.io.Externalizable.-
Methods inherited from class org.wildfly.iiop.openjdk.rmi.ContainerAnalysis
analyzeConstants, analyzeFields, analyzeInterfaces, analyzeMethods, analyzeOperations, attributeReadName, attributeWriteName, calculateClassHashCode, calculateRepositoryId, escapeIRName, fixupCaseNames, fixupOverloadedOperationNames, getAbstractBaseValuetypes, getAttributes, getConstants, getInterfaces, getMemberRepositoryId, getOperations, getRepositoryId, hasNonAppExceptions, isAccessor, isMutator, toHexString, toHexString
-
Methods inherited from class org.wildfly.iiop.openjdk.rmi.ClassAnalysis
getCls
-
-
-
-
Constructor Detail
-
ValueAnalysis
protected ValueAnalysis(Class cls)
-
-
Method Detail
-
getValueAnalysis
public static ValueAnalysis getValueAnalysis(Class cls) throws RMIIIOPViolationException
- Throws:
RMIIIOPViolationException
-
clearCache
public static void clearCache(ClassLoader classLoader)
-
getIDLModuleName
public String getIDLModuleName()
Description copied from class:ContainerAnalysisReturn the fully qualified IDL module name that this analysis should be placed in.- Overrides:
getIDLModuleNamein classContainerAnalysis
-
doAnalyze
protected void doAnalyze() throws RMIIIOPViolationException- Overrides:
doAnalyzein classContainerAnalysis- Throws:
RMIIIOPViolationException
-
getSuperAnalysis
public ValueAnalysis getSuperAnalysis()
Returns the superclass analysis, or null if this inherits from java.lang.Object.
-
isAbstractValue
public boolean isAbstractValue()
Returns true if this value is abstract.
-
isCustom
public boolean isCustom()
Returns true if this value is custom.
-
isExternalizable
public boolean isExternalizable()
Returns true if this value implements java.io.Externalizable.
-
getMembers
public ValueMemberAnalysis[] getMembers()
Return the value members of this value class.
-
analyzeAttributes
protected void analyzeAttributes() throws RMIIIOPViolationExceptionAnalyse attributes. This will fill in theattributesarray. Here we override the implementation in ContainerAnalysis and create an empty array, because for valuetypes we don't want to analyse IDL attributes or operations (as in "rmic -idl -noValueMethods").- Overrides:
analyzeAttributesin classContainerAnalysis- Throws:
RMIIIOPViolationException
-
getContainedEntries
protected ArrayList getContainedEntries()
Return a list of all the entries contained here.- Specified by:
getContainedEntriesin classContainerAnalysis
-
getIDLName
public String getIDLName()
Return my unqualified IDL name.
-
getJavaName
public String getJavaName()
Return my unqualified java name.
-
-