|
Web Site | |||||||||
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
A wrapper object that turns a ClassFile
object into a
IClass
.
Nested Class Summary |
Nested classes 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, declaredIFields, declaredIMethods, DOUBLE, FLOAT, INT, LONG, NO_IMETHODS, SHORT, VOID |
Constructor Summary | |
ClassFileIClass(ClassFile classFile,
IClassLoader iClassLoader)
|
Method Summary | |
Access |
getAccess()
|
protected IClass |
getComponentType2()
|
protected IClass[] |
getDeclaredIClasses2()
|
protected IClass.IConstructor[] |
getDeclaredIConstructors2()
|
protected IClass.IField[] |
getDeclaredIFields2()
|
protected IClass.IMethod[] |
getDeclaredIMethods2()
|
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()
|
void |
resolveHalf()
|
Methods inherited from class org.codehaus.janino.IClass |
getArrayIClass, getArrayIClass, getComponentType, getDeclaredIClasses, getDeclaredIConstructors, getDeclaredIFields, getDeclaredIMethods, getDeclaredIMethods, getDeclaringIClass, getDescriptor, getDescriptors, getIMethods, getInterfaces, getOuterIClass, getSuperclass, getSyntheticIFields, hasIMethod, implementsInterface, isAssignableFrom, isSubclassOf, toString |
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 classesMethod Detail |
protected IClass.IConstructor[] getDeclaredIConstructors2()
getDeclaredIConstructors2
in class IClass
protected IClass.IMethod[] getDeclaredIMethods2()
getDeclaredIMethods2
in class IClass
protected IClass.IField[] getDeclaredIFields2()
getDeclaredIFields2
in class IClass
protected IClass[] getDeclaredIClasses2() throws CompileException
getDeclaredIClasses2
in class IClass
CompileException
protected IClass getDeclaringIClass2() throws CompileException
getDeclaringIClass2
in class IClass
CompileException
protected IClass getOuterIClass2() throws CompileException
getOuterIClass2
in class IClass
CompileException
protected IClass getSuperclass2() throws CompileException
getSuperclass2
in class IClass
CompileException
public Access getAccess()
getAccess
in class IClass
public boolean isFinal()
IClass
isFinal
in class IClass
true
if subclassing is prohibitedprotected IClass[] getInterfaces2() throws CompileException
getInterfaces2
in class IClass
CompileException
public boolean isAbstract()
IClass
isAbstract
in class IClass
true
if instantiation is prohibitedprotected java.lang.String getDescriptor2()
getDescriptor2
in class IClass
public boolean isInterface()
IClass
isInterface
in class IClass
public boolean isArray()
IClass
isArray
in class IClass
public boolean isPrimitive()
IClass
isPrimitive
in class IClass
public boolean isPrimitiveNumeric()
IClass
isPrimitiveNumeric
in class IClass
protected IClass getComponentType2()
getComponentType2
in class IClass
public void resolveHalf() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void resolveAllClasses() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |