|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassInfo
Interface for the class info implementations.
| Nested Class Summary | |
|---|---|
static class |
ClassInfo.NullClassInfo
|
| Method Summary | |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader that loaded this class. |
ClassInfo |
getComponentType()
Returns the component type if array type else null. |
ConstructorInfo |
getConstructor(int hash)
Returns a constructor info by its hash. |
ConstructorInfo[] |
getConstructors()
Returns the constructors info. |
FieldInfo |
getField(int hash)
Returns a field info by its hash. |
FieldInfo[] |
getFields()
Returns the fields info. |
ClassInfo[] |
getInterfaces()
Returns the interfaces. |
MethodInfo |
getMethod(int hash)
Returns a method info by its hash. |
MethodInfo[] |
getMethods()
Returns the methods info. |
ClassInfo |
getSuperclass()
Returns the super class, or null (superclass of java.lang.Object) |
boolean |
hasStaticInitializer()
Checks if the class has a static initalizer. |
boolean |
isArray()
Is the class an array type. |
boolean |
isInterface()
Is the class an interface. |
boolean |
isPrimitive()
Is the class a primitive type. |
StaticInitializationInfo |
staticInitializer()
Returns the static initializer info of the current underlying class if any. |
| Methods inherited from interface org.codehaus.aspectwerkz.reflect.ReflectionInfo |
|---|
getAnnotations, getModifiers, getName, getSignature |
| Method Detail |
|---|
ConstructorInfo getConstructor(int hash)
hash -
ConstructorInfo[] getConstructors()
MethodInfo getMethod(int hash)
hash -
MethodInfo[] getMethods()
FieldInfo getField(int hash)
hash -
FieldInfo[] getFields()
ClassLoader getClassLoader()
boolean hasStaticInitializer()
StaticInitializationInfo staticInitializer()
ClassInfo[] getInterfaces()
ClassInfo getSuperclass()
ClassInfo getComponentType()
boolean isInterface()
boolean isPrimitive()
boolean isArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||