-
hostedJavaClass
Class<T> hostedJavaClass
-
name
String name
The name of the class this hub is representing, as defined in
Class.getName()
.
-
hubType
int hubType
Used to quickly determine in which category a certain hub falls (e.g., instance or array).
-
referenceType
byte referenceType
Used to quickly determine if this class is a subclass of
Reference
.
-
layoutEncoding
int layoutEncoding
-
typeID
int typeID
Unique id number for this type, used for fast type checks and type casts.
-
typeCheckStart
short typeCheckStart
-
typeCheckRange
short typeCheckRange
The number of ids which are in valid range for a type check.
-
typeCheckSlot
short typeCheckSlot
The value slot within the type id slot array to read when comparing against this type.
-
monitorOffset
short monitorOffset
The offset of the synthetic field which stores whatever is used for monitorEnter/monitorExit
by an instance of this class. If 0, then instances of this class are locked using a side
table.
-
flags
byte flags
Bit-set for various boolean flags, to reduce size of instances.
-
isLocalClass
Object isLocalClass
Boolean value or exception that happened at image-build time.
-
isAnonymousClass
Object isAnonymousClass
Boolean value or exception that happened at image-build time.
-
modifiers
int modifiers
-
superHub
DynamicHub superHub
The hub for the superclass, or null if an interface or primitive type.
- See Also:
Class.getSuperclass()
-
componentType
DynamicHub componentType
The hub for the component type of an array, or null if this hub is not an array hub.
- See Also:
Class.getComponentType()
-
arrayHub
DynamicHub arrayHub
The hub for an array of this type, or null if the array type has been determined as
uninstantiated by the static analysis.
-
enclosingClass
DynamicHub enclosingClass
The hub for the enclosing class, or null if no enclosing class.
The value is lazily initialized to break cycles. But it is initialized during static
analysis, so we do not have to annotate is as an UnknownObjectField
.
- See Also:
Class.getEnclosingClass()
-
interfacesEncoding
Object interfacesEncoding
The interfaces that this class implements. Either null (no interfaces), a
DynamicHub
(one interface), or a
DynamicHub
[] array (more than one interface).
-
enumConstantsReference
Object enumConstantsReference
Reference to a list of enum values for subclasses of
Enum
; null otherwise.
-
referenceMapIndex
int referenceMapIndex
-
metaType
SharedType metaType
Back link to the SubstrateType used by the substrate meta access. Only used for the subset of
types for which a SubstrateType exists.
-
sourceFileName
String sourceFileName
Source file name if known; null otherwise.
-
annotationsEncoding
Object annotationsEncoding
The annotations of this class. This field holds either null (no annotations), an Annotation
(one annotation), or an Annotation[] array (more than one annotation). This eliminates the
need for an array for the case that there are less than two annotations.
-
classInitializationInfo
ClassInitializationInfo classInitializationInfo
Metadata for running class initializers at run time. Refers to a singleton marker object for
classes/interfaces already initialized during image generation, i.e., this field is never
null at run time.
-
classLoader
Object classLoader
Classloader used for loading this class during image-build time.
-
typeCheckSlots
short[] typeCheckSlots
Array containing this type's type check id information. During a type check, a requested
column of this array is read to determine if this value fits within the range of ids which
match the assignee's type.
-
vtable
org.graalvm.nativeimage.c.function.CFunctionPointer[] vtable
-
genericInfo
GenericInfo genericInfo
-
annotatedSuperInfo
AnnotatedSuperInfo annotatedSuperInfo
-
module
Object module
Field used for module information access at run-time The run time type of this field is
java.lang.Module but can be casted to
Target_java_lang_Module
The module is of type
Object to avoid ClassCastExceptions at image build time due to base module miss-match.
-
nestHost
Class<T> nestHost
JDK 11 and later: the class that serves as the host for the nest. All nestmates have the same
host.
-
companion
LazyFinalReference<T> companion
-
rd
DynamicHub.ReflectionData rd