|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.InheritableAnnotationHolder
org.jboss.reflect.plugins.ClassInfoImpl
Class info
| Field Summary | |
protected ConstructorInfo[] |
constructors
The constructor info |
protected HashMap |
fieldMap
Field map Map |
protected FieldInfo[] |
fields
The fields |
protected InterfaceInfo[] |
interfaces
The interfaces |
protected MethodInfo[] |
methods
The methods |
protected int |
modifiers
The class modifiers |
protected String |
name
The class name |
protected ClassInfo |
superclass
The super class |
protected Class |
type
The type |
| Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
allAnnotations, allAnnotationsArray, declaredAnnotations, declaredAnnotationsArray, superHolder |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC |
| Constructor Summary | |
ClassInfoImpl()
Create a new abstract ClassInfo. |
|
ClassInfoImpl(String name)
Create a new class info |
|
ClassInfoImpl(String name,
int modifiers,
InterfaceInfo[] interfaces,
ClassInfoImpl superclass)
Create a new abstract ClassInfo. |
|
| Method Summary | |
boolean |
equals(Object obj)
|
static MethodInfo |
findMethod(MethodInfo[] methods,
String name,
TypeInfo[] parameters)
Find a method |
ConstructorInfo[] |
getDeclaredConstructors()
Get the declared constructors |
FieldInfo |
getDeclaredField(String name)
Get the declared field |
FieldInfo[] |
getDeclaredFields()
Get the declared fields |
MethodInfo |
getDeclaredMethod(String name,
TypeInfo[] parameters)
Get the declared method |
MethodInfo[] |
getDeclaredMethods()
Get the declared methods |
InterfaceInfo[] |
getInterfaces()
Get the interfaces |
int |
getModifiers()
Get the modifiers |
String |
getName()
Get the class name |
ClassInfo |
getSuperclass()
Get the super class |
Class |
getType()
Get the class |
int |
hashCode()
|
boolean |
isInterface()
Whether it is an interface |
boolean |
isPublic()
Whether it is public |
boolean |
isStatic()
Whether it is static |
void |
setDeclaredConstructors(ConstructorInfoImpl[] constructors)
Set the declared constructors |
void |
setDeclaredFields(FieldInfoImpl[] fields)
Set the declared fields |
void |
setDeclaredMethods(MethodInfoImpl[] methods)
Set the declared methods |
void |
setInterfaces(InterfaceInfo[] interfaces)
Set the interfaces |
void |
setSuperclass(ClassInfo superInfo)
Set the super class |
void |
setType(Class type)
Set the type |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setupAnnotations |
| Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
getAnnotation, getAnnotations, isAnnotationPresent |
| Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
| Field Detail |
protected String name
protected Class type
protected int modifiers
protected InterfaceInfo[] interfaces
protected MethodInfo[] methods
protected FieldInfo[] fields
protected HashMap fieldMap
protected ClassInfo superclass
protected ConstructorInfo[] constructors
| Constructor Detail |
public ClassInfoImpl()
public ClassInfoImpl(String name)
name - the class name
public ClassInfoImpl(String name,
int modifiers,
InterfaceInfo[] interfaces,
ClassInfoImpl superclass)
name - the class namemodifiers - the class modifiersinterfaces - the interfacessuperclass - the super class| Method Detail |
public static MethodInfo findMethod(MethodInfo[] methods,
String name,
TypeInfo[] parameters)
methods - the methodsname - the nameparameters - the parameters
public void setType(Class type)
type - the classpublic void setInterfaces(InterfaceInfo[] interfaces)
interfaces - the interfacespublic void setDeclaredMethods(MethodInfoImpl[] methods)
methods - the methodspublic void setDeclaredFields(FieldInfoImpl[] fields)
fields - the fieldspublic void setDeclaredConstructors(ConstructorInfoImpl[] constructors)
constructors - the constructorspublic void setSuperclass(ClassInfo superInfo)
superInfo - the super classpublic boolean isInterface()
ClassInfo
isInterface in interface ClassInfopublic InterfaceInfo[] getInterfaces()
ClassInfo
getInterfaces in interface ClassInfo
public MethodInfo getDeclaredMethod(String name,
TypeInfo[] parameters)
ClassInfo
getDeclaredMethod in interface ClassInfoname - the method nameparameters - the parameters
public MethodInfo[] getDeclaredMethods()
ClassInfo
getDeclaredMethods in interface ClassInfopublic FieldInfo getDeclaredField(String name)
ClassInfo
getDeclaredField in interface ClassInfoname - the field name
public FieldInfo[] getDeclaredFields()
ClassInfo
getDeclaredFields in interface ClassInfopublic ConstructorInfo[] getDeclaredConstructors()
ClassInfo
getDeclaredConstructors in interface ClassInfopublic ClassInfo getSuperclass()
ClassInfo
getSuperclass in interface ClassInfopublic int getModifiers()
ModifierInfo
getModifiers in interface ModifierInfopublic boolean isStatic()
ModifierInfo
isStatic in interface ModifierInfopublic boolean isPublic()
ModifierInfo
isPublic in interface ModifierInfopublic String getName()
ClassInfo
getName in interface ClassInfopublic Class getType()
TypeInfo
getType in interface TypeInfoprotected void toString(org.jboss.util.JBossStringBuilder buffer)
public boolean equals(Object obj)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||