Modifier and Type | Class and Description |
---|---|
private class |
ReflectionIClass.ReflectionIConstructor |
private class |
ReflectionIClass.ReflectionIField |
class |
ReflectionIClass.ReflectionIMethod |
IClass.IConstructor, IClass.IField, IClass.IInvocable, IClass.IMember, IClass.IMethod
Modifier and Type | Field and Description |
---|---|
private java.lang.Class |
clazz |
private IClassLoader |
iClassLoader |
Constructor and Description |
---|
ReflectionIClass(java.lang.Class clazz,
IClassLoader iClassLoader) |
Modifier and Type | Method and Description |
---|---|
private IClass[] |
classesToIClasses(java.lang.Class[] cs) |
private IClass |
classToIClass(java.lang.Class c)
|
Access |
getAccess() |
java.lang.Class |
getClazz() |
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() |
boolean |
isFinal()
Whether subclassing is allowed (JVMS 4.1 access_flags)
|
boolean |
isInterface() |
boolean |
isPrimitive() |
boolean |
isPrimitiveNumeric() |
private static Access |
modifiers2Access(int modifiers) |
java.lang.String |
toString() |
clearIFieldCaches, findIConstructor, findIMethod, findMemberType, getArrayIClass, getArrayIClass, getComponentType, getDeclaredIClasses, getDeclaredIConstructors, getDeclaredIField, getDeclaredIFields, getDeclaredIMethods, getDeclaredIMethods, getDeclaringIClass, getDescriptor, getDescriptors, getIMethods, getInterfaces, getOuterIClass, getSuperclass, getSyntheticIFields, hasIMethod, implementsInterface, invalidateMethodCaches, isAssignableFrom, isSubclassOf
private final java.lang.Class clazz
private final IClassLoader iClassLoader
public ReflectionIClass(java.lang.Class clazz, IClassLoader iClassLoader)
iClassLoader
- Required to load other IClass
es on get...()
protected IClass.IConstructor[] getDeclaredIConstructors2()
IClass
IClass.getDeclaredIConstructors()
which must be implemented by derived classes.getDeclaredIConstructors2
in class IClass
protected IClass.IMethod[] getDeclaredIMethods2()
IClass
IClass.getDeclaredIMethods()
which must be implemented by derived classes.getDeclaredIMethods2
in class IClass
protected IClass.IField[] getDeclaredIFields2()
IClass
IClass.getDeclaredIFields()
.getDeclaredIFields2
in class IClass
protected IClass[] getDeclaredIClasses2()
getDeclaredIClasses2
in class IClass
protected IClass getDeclaringIClass2()
getDeclaringIClass2
in class IClass
null
protected IClass getOuterIClass2() throws CompileException
getOuterIClass2
in class IClass
CompileException
IClass.getOuterIClass()
protected IClass getSuperclass2()
getSuperclass2
in class IClass
IClass.getSuperclass()
protected IClass[] getInterfaces2()
getInterfaces2
in class IClass
IClass.getInterfaces()
protected java.lang.String getDescriptor2()
getDescriptor2
in class IClass
public Access getAccess()
public boolean isFinal()
IClass
public boolean isInterface()
isInterface
in class IClass
public boolean isAbstract()
IClass
isAbstract
in class IClass
true
if instantiation is prohibitedpublic boolean isArray()
protected IClass getComponentType2()
getComponentType2
in class IClass
IClass.getComponentType()
public boolean isPrimitive()
isPrimitive
in class IClass
public boolean isPrimitiveNumeric()
isPrimitiveNumeric
in class IClass
public java.lang.Class getClazz()
java.lang.Class
public java.lang.String toString()
private IClass classToIClass(java.lang.Class c)
private IClass[] classesToIClasses(java.lang.Class[] cs)
classToIClass(Class)
private static Access modifiers2Access(int modifiers)