|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The instances of the classes that implement this interface provide informations about classes.
Method Summary | |
ClassInfo |
getAnonymousDeclaringClass()
Returns the declaring class of an anonymous class or null |
ClassInfo |
getArrayType()
Returns the array type that contains elements of this class |
ClassInfo |
getComponentType()
Returns the component type of this array type |
ConstructorInfo[] |
getConstructors()
Returns the constructor infos for the current class |
ClassInfo[] |
getDeclaredClasses()
Returns the classes and interfaces declared as members of the class represented by this ClassInfo object. |
ClassInfo |
getDeclaringClass()
Returns the declaring class or null |
FieldInfo[] |
getFields()
Returns the field infos for the current class |
ClassInfo[] |
getInterfaces()
Returns the class infos of the interfaces implemented by the class this info represents |
java.lang.Class |
getJavaClass()
Returns the underlying class |
MethodInfo[] |
getMethods()
Returns the method infos for the current class |
int |
getModifiers()
Returns the modifiers flags |
java.lang.String |
getName()
Returns the fully qualified name of the underlying class |
ClassInfo |
getSuperclass()
Returns the class info of the superclass of the class represented by this info |
boolean |
isArray()
Whether this object represents an array |
boolean |
isCompilable()
Whether the underlying class needs compilation |
boolean |
isInterface()
Whether this object represents an interface |
boolean |
isPrimitive()
Whether this object represents a primitive type |
void |
setCompilable(boolean b)
Sets the compilable property |
Method Detail |
public java.lang.Class getJavaClass()
public boolean isCompilable()
public void setCompilable(boolean b)
public ClassInfo getDeclaringClass()
public ClassInfo getAnonymousDeclaringClass()
public int getModifiers()
public java.lang.String getName()
public ClassInfo getSuperclass()
public ClassInfo[] getInterfaces()
public FieldInfo[] getFields()
public ConstructorInfo[] getConstructors()
public MethodInfo[] getMethods()
public ClassInfo[] getDeclaredClasses()
public ClassInfo getArrayType()
public boolean isInterface()
public boolean isArray()
public boolean isPrimitive()
public ClassInfo getComponentType()
java.lang.IllegalStateException
- if this type do not represent an array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |