|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.IClass
org.codehaus.janino.ClassFileIClass
public class ClassFileIClass
A wrapper object that turns a ClassFile object into an IClass.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.codehaus.janino.IClass |
|---|
IClass.IConstructor, IClass.IField, IClass.IInvocable, IClass.IMember, IClass.IMethod |
| Field Summary |
|---|
| Fields inherited from class org.codehaus.janino.IClass |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, NOT_CONSTANT, SHORT, VOID |
| Constructor Summary | |
|---|---|
ClassFileIClass(ClassFile classFile,
IClassLoader iClassLoader)
|
|
| Method Summary | |
|---|---|
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 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()
|
boolean |
isFinal()
Whether subclassing is allowed (JVMS 4.1 access_flags) |
boolean |
isInterface()
|
boolean |
isPrimitive()
|
boolean |
isPrimitiveNumeric()
|
void |
resolveAllClasses()
Resolves all classes referenced by this class file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFileIClass(ClassFile classFile,
IClassLoader iClassLoader)
classFile - Source of dataiClassLoader - IClassLoader through which to load other classes| Method Detail |
|---|
protected 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 IClass
protected IClass[] getDeclaredIClasses2()
throws CompileException
getDeclaredIClasses2 in class IClassCompileException
protected IClass getDeclaringIClass2()
throws CompileException
getDeclaringIClass2 in class IClassnull
CompileException
protected IClass getOuterIClass2()
throws CompileException
getOuterIClass2 in class IClassCompileExceptionIClass.getOuterIClass()
protected IClass getSuperclass2()
throws CompileException
getSuperclass2 in class IClassCompileExceptionIClass.getSuperclass()public Access getAccess()
getAccess in class IClasspublic boolean isFinal()
IClass
isFinal in class IClasstrue if subclassing is prohibited
protected IClass[] getInterfaces2()
throws CompileException
getInterfaces2 in class IClassCompileExceptionIClass.getInterfaces()public boolean isAbstract()
IClass
isAbstract in class IClasstrue if instantiation is prohibitedprotected String getDescriptor2()
getDescriptor2 in class IClasspublic boolean isInterface()
isInterface in class IClasspublic boolean isArray()
isArray in class IClasspublic boolean isPrimitive()
isPrimitive in class IClasspublic boolean isPrimitiveNumeric()
isPrimitiveNumeric in class IClassprotected IClass getComponentType2()
getComponentType2 in class IClassIClass.getComponentType()
public void resolveAllClasses()
throws ClassNotFoundException
ClassNotFoundException
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||