public interface ClassInfo extends AnnotatedInfo, ModifierInfo, TypeInfo
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
Modifier and Type | Method and Description |
---|---|
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
|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
getModifiers, isPublic, isStatic, isVolatile
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
String getName()
boolean isInterface()
InterfaceInfo[] getInterfaces()
InterfaceInfo[] getGenericInterfaces()
MethodInfo getDeclaredMethod(String name, TypeInfo[] parameters)
name
- the method nameparameters
- the parametersMethodInfo[] getDeclaredMethods()
FieldInfo getDeclaredField(String name)
name
- the field nameFieldInfo[] getDeclaredFields()
ConstructorInfo[] getDeclaredConstructors()
ConstructorInfo getDeclaredConstructor(TypeInfo[] parameters)
parameters
- the parametersClassInfo getSuperclass()
ClassInfo getGenericSuperclass()
TypeInfo[] getActualTypeArguments()
ClassInfo getRawType()
TypeInfo getOwnerType()
TypeInfo getComponentType()
TypeInfo getKeyType()
TypeInfo getValueType()
PackageInfo getPackage()
Copyright © 2015 JBoss by Red Hat. All rights reserved.