public class ClassFileIClass extends IClass
IClass.IConstructor, IClass.IField, IClass.IInvocable, IClass.IMember, IClass.IMethod| Constructor and Description |
|---|
ClassFileIClass(ClassFile classFile,
IClassLoader iClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
Access |
getAccess() |
protected IClass |
getComponentType2() |
protected IClass[] |
getDeclaredIClasses2() |
protected IClass.IConstructor[] |
getDeclaredIConstructors2()
The uncached version of
IClass.getDeclaredIConstructors() which must be implemented by derived classes. |
protected IClass.IField[] |
getDeclaredIFields2()
Uncached version of
IClass.getDeclaredIFields(). |
protected IClass.IMethod[] |
getDeclaredIMethods2()
The uncached version of
IClass.getDeclaredIMethods() which must be implemented by derived classes. |
protected IClass |
getDeclaringIClass2() |
protected java.lang.String |
getDescriptor2() |
protected IClass[] |
getInterfaces2() |
protected IClass |
getOuterIClass2() |
protected IClass |
getSuperclass2() |
boolean |
isAbstract()
Whether the class may be instantiated (JVMS 4.1 access_flags)
|
boolean |
isArray()
Returns "true" if this type represents an array.
|
boolean |
isFinal()
Whether subclassing is allowed (JVMS 4.1 access_flags)
|
boolean |
isInterface()
Returns "true" if this type represents an interface.
|
boolean |
isPrimitive()
Returns "true" if this type represents a primitive type or "void".
|
boolean |
isPrimitiveNumeric()
Returns "true" if this type represents "byte", "short", "int", "long",
"char", "float" or "double".
|
void |
resolveAllClasses()
Resolves all classes referenced by this class file.
|
void |
resolveHalf() |
clearIFieldCaches, findIMethod, getArrayIClass, getArrayIClass, getComponentType, getDeclaredIClasses, getDeclaredIConstructors, getDeclaredIField, getDeclaredIFields, getDeclaredIMethods, getDeclaredIMethods, getDeclaringIClass, getDescriptor, getDescriptors, getIMethods, getInterfaces, getOuterIClass, getSuperclass, getSyntheticIFields, hasIMethod, implementsInterface, invalidateMethodCaches, isAssignableFrom, isSubclassOf, toStringpublic ClassFileIClass(ClassFile classFile, IClassLoader iClassLoader)
classFile - Source of dataiClassLoader - IClassLoader through which to load other classesprotected IClass.IConstructor[] getDeclaredIConstructors2()
IClassIClass.getDeclaredIConstructors() which must be implemented by derived classes.getDeclaredIConstructors2 in class IClassprotected IClass.IMethod[] getDeclaredIMethods2()
IClassIClass.getDeclaredIMethods() which must be implemented by derived classes.getDeclaredIMethods2 in class IClassprotected IClass.IField[] getDeclaredIFields2()
IClassIClass.getDeclaredIFields().getDeclaredIFields2 in class IClassprotected IClass[] getDeclaredIClasses2() throws CompileException
getDeclaredIClasses2 in class IClassCompileExceptionprotected IClass getDeclaringIClass2() throws CompileException
getDeclaringIClass2 in class IClassCompileExceptionprotected IClass getOuterIClass2() throws CompileException
getOuterIClass2 in class IClassCompileExceptionprotected IClass getSuperclass2() throws CompileException
getSuperclass2 in class IClassCompileExceptionpublic boolean isFinal()
IClassprotected IClass[] getInterfaces2() throws CompileException
getInterfaces2 in class IClassCompileExceptionpublic boolean isAbstract()
IClassisAbstract in class IClasstrue if instantiation is prohibitedprotected java.lang.String getDescriptor2()
getDescriptor2 in class IClasspublic boolean isInterface()
IClassisInterface in class IClasspublic boolean isArray()
IClasspublic boolean isPrimitive()
IClassisPrimitive in class IClasspublic boolean isPrimitiveNumeric()
IClassisPrimitiveNumeric in class IClassprotected IClass getComponentType2()
getComponentType2 in class IClasspublic void resolveHalf()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic void resolveAllClasses()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException