|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.reflect.impl.java.JavaClassInfo
public class JavaClassInfo
Implementation of the ClassInfo interface for java.lang.reflect.*.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.codehaus.aspectwerkz.reflect.ClassInfo |
|---|
ClassInfo.NullClassInfo |
| Method Summary | |
|---|---|
static String |
convertJavaArrayTypeNameToHumanTypeName(String typeName)
Converts an internal Java array type name ([Lblabla) to the a the format used by the expression matcher (blabla[]) |
boolean |
equals(Object o)
|
List |
getAnnotations()
Returns the annotations infos. |
static ClassInfo |
getClassInfo(Class clazz)
Returns the class info for a specific class. |
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 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. |
String |
getSignature()
Returns the signature for the element. |
ClassInfo |
getSuperclass()
Returns the super class. |
int |
hashCode()
|
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static ClassInfo getClassInfo(Class clazz)
public List getAnnotations()
getAnnotations in interface ReflectionInfopublic String getName()
getName in interface ReflectionInfopublic boolean hasStaticInitializer()
hasStaticInitializer in interface ClassInfopublic StaticInitializationInfo staticInitializer()
staticInitializer in interface ClassInfoClassInfo.staticInitializer()public String getSignature()
getSignature in interface ReflectionInfopublic int getModifiers()
getModifiers in interface ReflectionInfopublic ClassLoader getClassLoader()
getClassLoader in interface ClassInfopublic ConstructorInfo getConstructor(int hash)
getConstructor in interface ClassInfohash -
public ConstructorInfo[] getConstructors()
getConstructors in interface ClassInfopublic MethodInfo getMethod(int hash)
getMethod in interface ClassInfohash -
public MethodInfo[] getMethods()
getMethods in interface ClassInfopublic FieldInfo getField(int hash)
getField in interface ClassInfohash -
public FieldInfo[] getFields()
getFields in interface ClassInfopublic ClassInfo[] getInterfaces()
getInterfaces in interface ClassInfopublic ClassInfo getSuperclass()
getSuperclass in interface ClassInfopublic ClassInfo getComponentType()
getComponentType in interface ClassInfopublic boolean isInterface()
isInterface in interface ClassInfopublic boolean isPrimitive()
isPrimitive in interface ClassInfopublic boolean isArray()
isArray in interface ClassInfopublic static String convertJavaArrayTypeNameToHumanTypeName(String typeName)
typeName - is type name
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||