|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassInfo
Class info
Field Summary |
---|
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 |
Method Summary | |
---|---|
TypeInfo[] |
getActualTypeArguments()
Get the actual type parameters |
TypeInfo |
getComponentType()
Get the component type if it is a collection or an array |
ConstructorInfo |
getDeclaredConstructor(TypeInfo[] parameters)
Get a declared constructor |
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[] |
getGenericInterfaces()
Get the generic interfaces |
ClassInfo |
getGenericSuperclass()
Get the generic super class |
InterfaceInfo[] |
getInterfaces()
Get the interfaces |
TypeInfo |
getKeyType()
Get the key type if it is a map |
String |
getName()
Get the class name |
TypeInfo |
getOwnerType()
Get the owner type |
PackageInfo |
getPackage()
Get the package |
ClassInfo |
getRawType()
Get the raw type |
ClassInfo |
getSuperclass()
Get the super class |
TypeInfo |
getValueType()
Get the value type if it is a map |
boolean |
isInterface()
Whether it is an interface |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
getModifiers, isPublic, isStatic, isVolatile |
Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
---|
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment |
Method Detail |
---|
String getName()
getName
in interface TypeInfo
boolean isInterface()
InterfaceInfo[] getInterfaces()
InterfaceInfo[] getGenericInterfaces()
MethodInfo getDeclaredMethod(String name, TypeInfo[] parameters)
name
- the method nameparameters
- the parameters
MethodInfo[] getDeclaredMethods()
FieldInfo getDeclaredField(String name)
name
- the field name
FieldInfo[] getDeclaredFields()
ConstructorInfo[] getDeclaredConstructors()
ConstructorInfo getDeclaredConstructor(TypeInfo[] parameters)
parameters
- the parameters
ClassInfo getSuperclass()
ClassInfo getGenericSuperclass()
TypeInfo[] getActualTypeArguments()
ClassInfo getRawType()
TypeInfo getOwnerType()
TypeInfo getComponentType()
TypeInfo getKeyType()
TypeInfo getValueType()
PackageInfo getPackage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |