|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.reflect.impl.javassist.JavassistClassInfo
Implementation of the ClassInfo interface for Javassist.
Nested Class Summary |
Nested classes inherited from class org.codehaus.aspectwerkz.reflect.ClassInfo |
ClassInfo.NullClassInfo |
Method Summary | |
boolean |
equals(Object o)
|
List |
getAnnotations()
Returns the annotations. |
static ClassInfo |
getClassInfo(javassist.CtClass clazz,
ClassLoader loader)
Returns the class info for a specific ctClass. |
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 a list with all the constructors info. |
FieldInfo |
getField(int hash)
Returns a field info by its hash. |
FieldInfo[] |
getFields()
Returns a list with all the field info. |
ClassInfo[] |
getInterfaces()
Returns the interfaces. |
MethodInfo |
getMethod(int hash)
Returns a method info by its hash. |
MethodInfo[] |
getMethods()
Returns a list with all the methods info. |
int |
getModifiers()
Returns the class modifiers. |
String |
getName()
Returns the name of the class. |
ClassInfo |
getSuperClass()
Returns the super class. |
int |
hashCode()
|
boolean |
isArray()
Is the class an array type. |
boolean |
isInterface()
Is the class an interface. |
boolean |
isPrimitive()
Is the class a primitive type. |
static void |
markDirty(javassist.CtClass clazz,
ClassLoader loader)
Marks the class as dirty (since it has been modified and needs to be rebuild). |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static ClassInfo getClassInfo(javassist.CtClass clazz, ClassLoader loader)
clazz
- loader
-
public static void markDirty(javassist.CtClass clazz, ClassLoader loader)
clazz
- loader
- public List getAnnotations()
getAnnotations
in interface ReflectionInfo
public String getName()
getName
in interface ReflectionInfo
public int getModifiers()
getModifiers
in interface ReflectionInfo
public ConstructorInfo getConstructor(int hash)
getConstructor
in interface ClassInfo
hash
-
public ConstructorInfo[] getConstructors()
getConstructors
in interface ClassInfo
public MethodInfo getMethod(int hash)
getMethod
in interface ClassInfo
hash
-
public MethodInfo[] getMethods()
getMethods
in interface ClassInfo
public FieldInfo getField(int hash)
getField
in interface ClassInfo
hash
-
public FieldInfo[] getFields()
getFields
in interface ClassInfo
public ClassInfo[] getInterfaces()
getInterfaces
in interface ClassInfo
public ClassInfo getSuperClass()
getSuperClass
in interface ClassInfo
public ClassInfo getComponentType()
getComponentType
in interface ClassInfo
public boolean isInterface()
isInterface
in interface ClassInfo
public boolean isPrimitive()
isPrimitive
in interface ClassInfo
public boolean isArray()
isArray
in interface ClassInfo
public boolean equals(Object o)
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |