public class JL5ClassFileLazyClassInitializer extends ClassFileLazyClassInitializer implements JL5LazyClassInitializer
Modifier and Type | Field and Description |
---|---|
protected boolean |
annotationElemsInitialized
Have the annotation elems (i.e., the method-like accessors for
values of annotations) been initialized?
|
protected boolean |
annotationsInitialized
Have the annotation for the class been initialized?
|
protected boolean |
enumConstantsInitialized
Have the enum constants for the class been initialized?
|
clazz, constructorsInitialized, ct, fieldsInitialized, init, interfacesInitialized, memberClassesInitialized, methodsInitialized, superclassInitialized, ts, verbose
Constructor and Description |
---|
JL5ClassFileLazyClassInitializer(ClassFile file,
TypeSystem ts) |
Modifier and Type | Method and Description |
---|---|
protected ConstructorInstance |
constructorInstance(Method method_,
ClassType ct,
Field[] fields)
Create a ConstructorInstance.
|
protected ParsedClassType |
createType()
Create the type for this class file.
|
protected FieldInstance |
fieldInstance(Field field_,
ClassType ct)
Create a FieldInstance.
|
void |
initAnnotationElems() |
void |
initAnnotations() |
void |
initEnumConstants() |
protected boolean |
initialized() |
protected MethodInstance |
methodInstance(Method method_,
ClassType ct)
Create a MethodInstance.
|
protected ClassType |
quietTypeForName(java.lang.String name)
Looks up a class by name, assuming the class exists.
|
arrayOf, canonicalConstructors, canonicalFields, canonicalMethods, fromClassFile, initConstructors, initFields, initInterfaces, initMemberClasses, initMethods, initSuperclass, initTypeObject, isTypeObjectInitialized, position, setClass, type, typeForName, typeForString, typeListForString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canonicalConstructors, canonicalFields, canonicalMethods, fromClassFile, initConstructors, initFields, initInterfaces, initMemberClasses, initMethods, initSuperclass, setClass
initTypeObject, isTypeObjectInitialized
protected boolean annotationElemsInitialized
protected boolean annotationsInitialized
protected boolean enumConstantsInitialized
public JL5ClassFileLazyClassInitializer(ClassFile file, TypeSystem ts)
protected boolean initialized()
initialized
in class ClassFileLazyClassInitializer
protected ParsedClassType createType() throws SemanticException
createType
in class ClassFileLazyClassInitializer
SemanticException
protected MethodInstance methodInstance(Method method_, ClassType ct)
ClassFileLazyClassInitializer
methodInstance
in class ClassFileLazyClassInitializer
method_
- The JVM Method data structure.ct
- The class containing the method.protected ClassType quietTypeForName(java.lang.String name)
ClassFileLazyClassInitializer
quietTypeForName
in class ClassFileLazyClassInitializer
name
- Name of the class to find.protected ConstructorInstance constructorInstance(Method method_, ClassType ct, Field[] fields)
ClassFileLazyClassInitializer
constructorInstance
in class ClassFileLazyClassInitializer
method_
- The JVM Method data structure for the constructor.ct
- The class containing the method.fields
- The constructor's fields, needed to remove parameters
passed to initialize synthetic fields.protected FieldInstance fieldInstance(Field field_, ClassType ct)
ClassFileLazyClassInitializer
fieldInstance
in class ClassFileLazyClassInitializer
field_
- The JVM Field data structure for the field.ct
- The class containing the field.public void initEnumConstants()
initEnumConstants
in interface JL5LazyClassInitializer
public void initAnnotations()
initAnnotations
in interface JL5LazyClassInitializer
public void initAnnotationElems()
initAnnotationElems
in interface JL5LazyClassInitializer