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
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, repositoryIdFields inherited from class org.wildfly.iiop.openjdk.rmi.ClassAnalysis
cls -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAnalyse attributes.static voidclearCache(ClassLoader classLoader) protected voidprotected ArrayListReturn a list of all the entries contained here.Return the fully qualified IDL module name that this analysis should be placed in.Return my unqualified IDL name.Return my unqualified java name.Return the value members of this value class.Returns the superclass analysis, or null if this inherits from java.lang.Object.static ValueAnalysisgetValueAnalysis(Class cls) booleanReturns true if this value is abstract.booleanisCustom()Returns true if this value is custom.booleanReturns 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, toHexStringMethods inherited from class org.wildfly.iiop.openjdk.rmi.ClassAnalysis
getCls
-
Constructor Details
-
ValueAnalysis
-
-
Method Details
-
getValueAnalysis
- Throws:
RMIIIOPViolationException
-
clearCache
-
getIDLModuleName
Description copied from class:ContainerAnalysisReturn the fully qualified IDL module name that this analysis should be placed in.- Overrides:
getIDLModuleNamein classContainerAnalysis
-
doAnalyze
- Overrides:
doAnalyzein classContainerAnalysis- Throws:
RMIIIOPViolationException
-
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
Return the value members of this value class. -
analyzeAttributes
Analyse 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
Return a list of all the entries contained here.- Specified by:
getContainedEntriesin classContainerAnalysis
-
getIDLName
Return my unqualified IDL name. -
getJavaName
Return my unqualified java name.
-