Package | Description |
---|---|
org.jboss.beans.info.plugins |
Classes used to describe beans, an abstract implementation.
|
org.jboss.beans.info.spi |
Classes used to describe beans.
|
org.jboss.beans.info.spi.helpers | |
org.jboss.classadapter.plugins |
Basic Class Adapter.
|
org.jboss.classadapter.spi |
Class Adapter API.
|
org.jboss.config.plugins | |
org.jboss.config.spi | |
org.jboss.joinpoint.plugins |
Basic Join Points.
|
org.jboss.reflect.plugins |
Abstract extended reflection implementations.
|
org.jboss.reflect.plugins.bytecode | |
org.jboss.reflect.plugins.introspection |
Introspection based extended reflection.
|
org.jboss.reflect.plugins.javassist | |
org.jboss.reflect.spi |
Extended Reflection API.
|
Modifier and Type | Method and Description |
---|---|
protected TypeInfo |
AbstractBeanInfoFactory.getPropertyType(MethodInfo getter,
MethodInfo setter)
Determine the type of PropertyInfo.
|
TypeInfo |
AbstractPropertyInfo.getType() |
TypeInfo |
NestedPropertyInfo.getType()
In this case it is better to return null
then to throw an exception, since we might still have
enough information to use this class to set the value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPropertyInfo.init(String fieldName,
String fieldUpperName,
TypeInfo fieldType)
Initialize fields.
|
Object |
AbstractBeanInfo.invoke(Object bean,
String beanName,
TypeInfo[] paramTypes,
Object[] params) |
Object |
AbstractBeanInfo.invokeStatic(String beanName,
TypeInfo[] paramTypes,
Object[] params) |
Object |
AbstractBeanInfo.newInstance(TypeInfo[] paramTypes,
Object[] params) |
void |
AbstractPropertyInfo.setType(TypeInfo type) |
Constructor and Description |
---|
AbstractPropertyInfo(String name,
String upperName,
TypeInfo type)
Create a new property info
|
AbstractPropertyInfo(String name,
String upperName,
TypeInfo type,
AnnotationValue[] annotations)
Create a new property info
|
DefaultPropertyInfo(String name,
String upperName,
TypeInfo type,
MethodInfo getter,
MethodInfo setter)
Create a new property info
|
DefaultPropertyInfo(String name,
String upperName,
TypeInfo type,
MethodInfo getter,
MethodInfo setter,
AnnotationValue[] annotations)
Create a new property info
|
Modifier and Type | Method and Description |
---|---|
TypeInfo |
PropertyInfo.getType()
Get the type
|
Modifier and Type | Method and Description |
---|---|
Object |
BeanInfo.invoke(Object bean,
String name,
TypeInfo[] paramTypes,
Object[] params)
Invoke a method
|
Object |
BeanInfo.invokeStatic(String name,
TypeInfo[] paramTypes,
Object[] params)
Invoke a static method
|
Object |
BeanInfo.newInstance(TypeInfo[] paramTypes,
Object[] params)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
Object |
UnmodifiableBeanInfo.invoke(Object bean,
String name,
TypeInfo[] paramTypes,
Object[] params) |
Object |
UnmodifiableBeanInfo.invokeStatic(String name,
TypeInfo[] paramTypes,
Object[] params) |
Object |
UnmodifiableBeanInfo.newInstance(TypeInfo[] paramTypes,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
ClassAdapter |
BasicClassAdapterFactory.getClassAdapter(TypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
ClassAdapter |
ClassAdapterFactory.getClassAdapter(TypeInfo typeInfo)
Get a class adapter
|
Modifier and Type | Method and Description |
---|---|
TypeInfo |
AbstractConfiguration.getTypeInfo(String type,
ClassLoader cl) |
TypeInfo |
AbstractConfiguration.getTypeInfo(Type type) |
Modifier and Type | Method and Description |
---|---|
BeanInfo |
AbstractConfiguration.getBeanInfo(TypeInfo typeInfo) |
BeanInfo |
AbstractConfiguration.getBeanInfo(TypeInfo typeInfo,
BeanAccessMode accessMode) |
Modifier and Type | Method and Description |
---|---|
TypeInfo |
Configuration.getTypeInfo(String type,
ClassLoader cl)
Get the type info for a type
|
TypeInfo |
Configuration.getTypeInfo(Type type)
Get the type info for a type
|
Modifier and Type | Method and Description |
---|---|
BeanInfo |
Configuration.getBeanInfo(TypeInfo type)
Get the bean info
|
BeanInfo |
Configuration.getBeanInfo(TypeInfo type,
BeanAccessMode accessMode)
Get the bean info
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Config.equals(String[] typeNames,
TypeInfo[] typeInfos)
Test whether type names are equal to type infos
|
protected static boolean |
Config.simpleCheck(String[] typeNames,
TypeInfo[] typeInfos)
A simple null and length check.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationInfoImpl
Annotation Info
|
class |
ArrayInfoImpl
Array information
|
class |
ClassInfoImpl
Class info
TODO JBREFLECT-4 fix the introspection assumption
|
class |
EnumInfoImpl
Enumeration info
|
class |
InterfaceInfoImpl
Interface info
|
Modifier and Type | Field and Description |
---|---|
protected TypeInfo |
ArrayInfoImpl.componentType
The component type
|
protected TypeInfo |
ParameterInfoImpl.parameterType
The parameter type
|
protected TypeInfo[] |
ConstructorInfoImpl.parameterTypes
The parameter types
|
protected TypeInfo[] |
MethodInfoImpl.parameterTypes
The parameter types
|
protected TypeInfo |
MethodInfoImpl.returnType
The return type
|
protected TypeInfo |
EnumValueImpl.type
The type
|
protected TypeInfo |
StringValueImpl.type
The type
|
protected TypeInfo |
FieldInfoImpl.type
The field type
|
protected TypeInfo |
ClassValueImpl.type
The type
|
protected TypeInfo |
ArrayValueImpl.type
The type
|
protected TypeInfo |
AnnotationAttributeImpl.type
The attribute type
|
static TypeInfo |
ClassInfoImpl.UNKNOWN_TYPE
Marker for generation
|
static TypeInfo[] |
ClassInfoImpl.UNKNOWN_TYPES
Marker for generation
|
Modifier and Type | Method and Description |
---|---|
TypeInfo[] |
ClassInfoImpl.getActualTypeArguments() |
TypeInfo[] |
ClassInfoHelper.getActualTypeArguments(ParameterizedClassInfo classInfo)
Get the actual type parameters
|
TypeInfo |
ClassInfoImpl.getArrayType() |
TypeInfo |
ClassInfoImpl.getComponentType() |
TypeInfo |
ArrayInfoImpl.getComponentType() |
TypeInfo |
ClassInfoHelper.getComponentType(ClassInfo classInfo)
Get the component type for a collection
|
TypeInfo |
ClassInfoImpl.getKeyType() |
TypeInfo |
ClassInfoHelper.getKeyType(ClassInfo classInfo)
Get the key type for a map
|
TypeInfo |
ClassInfoImpl.getOwnerType() |
TypeInfo |
ClassInfoHelper.getOwnerType(ParameterizedClassInfo classInfo)
Get the owner type
|
TypeInfo |
ParameterInfoImpl.getParameterType() |
TypeInfo[] |
ConstructorInfoImpl.getParameterTypes() |
TypeInfo[] |
MethodInfoImpl.getParameterTypes() |
TypeInfo |
MethodInfoImpl.getReturnType() |
TypeInfo |
AnnotationValueImpl.getType() |
TypeInfo |
EnumValueImpl.getType() |
TypeInfo |
StringValueImpl.getType() |
TypeInfo |
FieldInfoImpl.getType() |
TypeInfo |
ClassValueImpl.getType() |
TypeInfo |
ArrayValueImpl.getType() |
TypeInfo |
AnnotationAttributeImpl.getType() |
TypeInfo |
ClassInfoHelper.getTypeInfo(Class<?> clazz)
Get a type info
|
TypeInfo |
ClassInfoImpl.getValueType() |
TypeInfo |
ClassInfoHelper.getValueType(ClassInfo classInfo)
Get the value type for a map
|
Modifier and Type | Method and Description |
---|---|
static Value |
AnnotationValueFactory.createValue(AnnotationHelper annotationHelper,
TypeInfo type,
Object value)
Create value.
|
static ConstructorInfo |
ClassInfoImpl.findConstructor(ConstructorInfo[] constructors,
TypeInfo[] parameters)
Find a constructor
|
static MethodInfo |
ClassInfoImpl.findMethod(MethodInfo[] methods,
String name,
TypeInfo[] parameters)
Find a method
|
ConstructorInfo |
ClassInfoImpl.getDeclaredConstructor(TypeInfo... parameters) |
MethodInfo |
ClassInfoImpl.getDeclaredMethod(String methodName,
TypeInfo... parameters) |
boolean |
ClassInfoImpl.isAssignableFrom(TypeInfo info) |
Constructor and Description |
---|
AnnotationAttributeImpl(String name,
TypeInfo type,
Value defaultValue)
Create a new AnnotationAttribute.
|
ArrayInfoImpl(TypeInfo componentType)
Create a new ArrayInfo.
|
ArrayValueImpl(TypeInfo type,
Value[] values)
Create a new ArrayValue
|
ClassValueImpl(String value,
TypeInfo type)
Create a new ClassValue.
|
ConstructorInfoImpl(AnnotationValue[] annotations,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
EnumValueImpl(TypeInfo type,
String value)
Create a new EnumValue.
|
FieldInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo type,
int modifiers,
ClassInfo declaring)
Create a new FieldInfo.
|
MethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
ParameterInfo[] parameters,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
MethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
MethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
ParameterInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo parameterType)
Create a new MethodInfo.
|
StringValueImpl(String value,
TypeInfo type)
Create a new string value
|
Modifier and Type | Class and Description |
---|---|
class |
BytecodeAnnotationInfo |
class |
BytecodeArrayInfoImpl
Javassist array info
|
class |
BytecodeEnumInfo |
class |
BytecodeParameterizedClassInfo
Delegate class info to handle generic parameterized types in javassist
|
class |
BytecodeTypeInfo
BytecodeTypeInfo.
|
Modifier and Type | Field and Description |
---|---|
protected TypeInfo |
BytecodeArrayInfoImpl.componentType
The component type
|
protected TypeInfo[] |
BytecodeBehaviourInfo.parameterTypes
The parameter types
|
Modifier and Type | Method and Description |
---|---|
static TypeInfo[] |
BytecodeGenericsHelper.createParameterTypes(javassist.bytecode.SignatureAttribute.MethodSignature sig,
org.jboss.reflect.plugins.bytecode.BytecodeClassInfo typeInfo)
Creates the generic parameter types for a constructor or method
|
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.createTypeInfoForTypeArgument(javassist.bytecode.SignatureAttribute.TypeArgument arg,
ClassLoader loader,
org.jboss.reflect.plugins.bytecode.BytecodeTypeVariableSpy spy)
Gets the type info for a javassist type argument
|
TypeInfo |
BytecodeTypeInfoFactoryImpl.get(Class clazz)
Get the information for a class
|
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.get(ClassBytes classBytes,
Class<?> clazz,
String name,
ClassLoader cl,
boolean delegateToReflectIfNotFound)
Get the information for a class
|
TypeInfo |
BytecodeTypeInfoFactoryImpl.get(String name,
ClassLoader cl)
Get the information for a class
|
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.get(String name,
ClassLoader cl,
Class<?> clazz)
Get the information for a class
|
TypeInfo[] |
BytecodeParameterizedClassInfo.getActualTypeArguments() |
TypeInfo[] |
BytecodeTypeInfo.getActualTypeArguments() |
TypeInfo |
BytecodeTypeInfo.getArrayType() |
TypeInfo |
BytecodeParameterizedClassInfo.getComponentType() |
TypeInfo |
BytecodeTypeInfo.getComponentType() |
TypeInfo |
BytecodeArrayInfoImpl.getComponentType() |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getGenericArrayType(GenericArrayType type)
Get the type info for a reflect generic array type
|
TypeInfo |
BytecodeParameterizedClassInfo.getKeyType() |
TypeInfo |
BytecodeTypeInfo.getKeyType() |
TypeInfo |
BytecodeTypeInfo.getOwnerType() |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getParameterizedType(ParameterizedType type)
Creates a type info from a reflect generic paramemeterized type
|
TypeInfo |
BytecodeParameterInfo.getParameterType() |
TypeInfo[] |
BytecodeBehaviourInfo.getParameterTypes() |
TypeInfo |
BytecodeMethodInfo.getReturnType() |
TypeInfo |
BytecodeFieldInfo.getType() |
TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeInfo(Class<?> clazz) |
TypeInfo |
BytecodeTypeInfoFactory.getTypeInfo(Class<?> clazz) |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeInfo(ClassLoader loader,
javassist.bytecode.SignatureAttribute.ClassType type,
org.jboss.reflect.plugins.bytecode.BytecodeTypeVariableSpy spy)
Gets the type info for a javassist generic class type
|
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeInfo(ClassLoader loader,
javassist.bytecode.SignatureAttribute.Type type,
org.jboss.reflect.plugins.bytecode.BytecodeTypeVariableSpy spy)
Gets the type info for a javassist type
|
TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeInfo(String name,
ClassLoader cl)
Gets the type info for a class
|
TypeInfo |
BytecodeTypeInfoFactory.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeInfo(Type type)
Gets the type info for a reflect type
|
TypeInfo |
BytecodeTypeInfoFactory.getTypeInfo(Type type) |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getTypeVariable(TypeVariable<?> type)
Get the type info for a reflect TypeVariable
|
TypeInfo |
BytecodeParameterizedClassInfo.getValueType() |
TypeInfo |
BytecodeTypeInfo.getValueType() |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.getWildcardType(WildcardType type)
Gets the type info for a reflect wildcard type
|
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.instantiate(Class clazz) |
protected TypeInfo |
BytecodeTypeInfoFactoryImpl.instantiate(String name,
ClassBytes classBytes,
Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,WeakReference<TypeInfo>> |
BytecodeTypeInfoFactoryImpl.getClassLoaderCache(ClassLoader cl)
Gets the classloader cache for the passed in classloader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BytecodeTypeInfoFactoryImpl.generate(Class clazz,
TypeInfo result) |
ConstructorInfo |
BytecodeTypeInfo.getDeclaredConstructor(TypeInfo... parameters) |
MethodInfo |
BytecodeTypeInfo.getDeclaredMethod(String methodName,
TypeInfo... parameters) |
boolean |
BytecodeTypeInfo.isAssignableFrom(TypeInfo info) |
Constructor and Description |
---|
BytecodeParameterInfo(AnnotationHelper annotationHelper,
BytecodeBehaviourInfo annotated,
int index,
TypeInfo parameterType)
Create a new JavassistParameterInfo.
|
SignatureKey(String name,
TypeInfo... typeInfos)
Create a new SignatureKey.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterizedArrayInfo
ParameterizedArrayInfo.
|
class |
ParameterizedClassInfo
ParameterizedClassInfo.
|
class |
ReflectClassInfoImpl
Class info
|
Modifier and Type | Method and Description |
---|---|
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.findActualType(ClassInfo classInfo,
Class<?> reference,
int parameter) |
TypeInfo[] |
ParameterizedClassInfo.getActualTypeArguments() |
TypeInfo[] |
IntrospectionTypeInfoFactoryImpl.getActualTypeArguments(ParameterizedClassInfo classInfo) |
TypeInfo |
ParameterizedClassInfo.getComponentType() |
TypeInfo |
ParameterizedArrayInfo.getComponentType() |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getComponentType(ClassInfo classInfo) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.getGenericArrayType(GenericArrayType type)
Get the information for an array type
|
TypeInfo |
ParameterizedClassInfo.getKeyType() |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getKeyType(ClassInfo classInfo) |
TypeInfo |
ParameterizedClassInfo.getOwnerType() |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getOwnerType(ParameterizedClassInfo classInfo) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.getParameterizedType(ParameterizedType type)
Overrides the
WeakTypeCache.getParameterizedType(ParameterizedType)
method so that parameterized types are not cached when getTypeInfo(Type) is called
with a ParameterizedType with no information about the classloader. |
TypeInfo |
IntrospectionTypeInfoFactory.getTypeInfo(Class<?> clazz) |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getTypeInfo(Class<?> clazz) |
TypeInfo |
IntrospectionTypeInfoFactory.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
IntrospectionTypeInfoFactory.getTypeInfo(Type type) |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getTypeInfo(Type type) |
TypeInfo[] |
IntrospectionTypeInfoFactoryImpl.getTypeInfos(Type[] classes)
Get the type infos for some classes
|
protected <D extends GenericDeclaration> |
IntrospectionTypeInfoFactoryImpl.getTypeVariable(TypeVariable<D> type) |
TypeInfo |
ParameterizedClassInfo.getValueType() |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getValueType(ClassInfo classInfo) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.getWildcardType(WildcardType type) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.instantiate(Class<?> clazz) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.instantiate(ParameterizedType type) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.peek(ParameterizedType type) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(ClassLoader cl,
String name)
Resolve complex type info.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IntrospectionTypeInfoFactoryImpl.generate(Class<?> clazz,
TypeInfo result) |
protected void |
IntrospectionTypeInfoFactoryImpl.generate(ParameterizedType type,
TypeInfo result) |
protected void |
IntrospectionTypeInfoFactoryImpl.put(ParameterizedType type,
TypeInfo result) |
Constructor and Description |
---|
ReflectConstructorInfoImpl(AnnotationValue[] annotations,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
ReflectFieldInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo type,
int modifiers,
ClassInfo declaring)
Create a new FieldInfo.
|
ReflectMethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
ParameterInfo[] parameters,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
ReflectMethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
ReflectMethodInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo returnType,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new MethodInfo.
|
Modifier and Type | Class and Description |
---|---|
class |
JavassistAnnotationInfo |
class |
JavassistArrayInfoImpl
Javassist array info
|
class |
JavassistEnumInfo |
class |
JavassistParameterizedClassInfo
Delegate class info to handle generic parameterized types in javassist
|
class |
JavassistTypeInfo
JavassistTypeInfo.
|
Modifier and Type | Field and Description |
---|---|
protected TypeInfo |
JavassistArrayInfoImpl.componentType
The component type
|
protected TypeInfo[] |
JavassistAnnotatedParameterInfo.parameterTypes
The parameter types
|
Modifier and Type | Method and Description |
---|---|
static TypeInfo[] |
JavassistHelper.createParameterTypes(javassist.bytecode.SignatureAttribute.MethodSignature sig,
org.jboss.reflect.plugins.javassist.JavassistClassInfo typeInfo)
Creates the generic parameter types for a constructor or method
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.createTypeInfoForTypeArgument(javassist.bytecode.SignatureAttribute.TypeArgument arg,
ClassLoader loader,
org.jboss.reflect.plugins.javassist.JavassistTypeVariableSpy spy)
Gets the type info for a javassist type argument
|
TypeInfo |
JavassistTypeInfoFactoryImpl.get(Class clazz)
Get the information for a class
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.get(javassist.CtClass ctClass)
Get the information for a class
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.get(javassist.CtClass ctClass,
Class<?> clazz,
String name,
ClassLoader cl,
boolean delegateToReflectIfNotFound)
Get the information for a class
|
TypeInfo |
JavassistTypeInfoFactoryImpl.get(String name,
ClassLoader cl)
Get the information for a class
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.get(String name,
ClassLoader cl,
Class<?> clazz)
Get the information for a class
|
TypeInfo[] |
JavassistParameterizedClassInfo.getActualTypeArguments() |
TypeInfo[] |
JavassistTypeInfo.getActualTypeArguments() |
TypeInfo |
JavassistTypeInfo.getArrayType() |
TypeInfo |
JavassistParameterizedClassInfo.getComponentType() |
TypeInfo |
JavassistTypeInfo.getComponentType() |
TypeInfo |
JavassistArrayInfoImpl.getComponentType() |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getGenericArrayType(GenericArrayType type)
Get the type info for a reflect generic array type
|
TypeInfo |
JavassistParameterizedClassInfo.getKeyType() |
TypeInfo |
JavassistTypeInfo.getKeyType() |
TypeInfo |
JavassistTypeInfo.getOwnerType() |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getParameterizedType(ParameterizedType type)
Creates a type info from a reflect generic paramemeterized type
|
TypeInfo |
JavassistParameterInfo.getParameterType() |
TypeInfo[] |
JavassistAnnotatedParameterInfo.getParameterTypes() |
TypeInfo |
JavassistMethodInfo.getReturnType() |
TypeInfo |
JavassistFieldInfo.getType() |
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(Class<?> clazz) |
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(Class<?> clazz) |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(ClassLoader loader,
javassist.bytecode.SignatureAttribute.ClassType type,
org.jboss.reflect.plugins.javassist.JavassistTypeVariableSpy spy)
Gets the type info for a javassist generic class type
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(ClassLoader loader,
javassist.bytecode.SignatureAttribute.Type type,
org.jboss.reflect.plugins.javassist.JavassistTypeVariableSpy spy)
Gets the type info for a javassist type
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(javassist.CtClass ctClass)
Get the type info
|
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(String name,
ClassLoader cl)
Gets the type info for a class
|
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(Type type)
Gets the type info for a reflect type
|
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(Type type) |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeVariable(TypeVariable<?> type)
Get the type info for a reflect TypeVariable
|
TypeInfo |
JavassistParameterizedClassInfo.getValueType() |
TypeInfo |
JavassistTypeInfo.getValueType() |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getWildcardType(WildcardType type)
Gets the type info for a reflect wildcard type
|
protected TypeInfo |
JavassistTypeInfoFactoryImpl.instantiate(Class clazz) |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.instantiate(javassist.CtClass ctClass,
Class<?> clazz) |
static TypeInfo |
JavassistUtil.toTypeInfo(javassist.CtClass ctClass) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,WeakReference<TypeInfo>> |
JavassistTypeInfoFactoryImpl.getClassLoaderCache(ClassLoader cl)
Gets the classloader cache for the passed in classloader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JavassistTypeInfoFactoryImpl.generate(Class clazz,
TypeInfo result) |
MutableConstructorInfo |
JavassistTypeInfo.getDeclaredConstructor(TypeInfo... parameters) |
MutableMethodInfo |
JavassistTypeInfo.getDeclaredMethod(String methodName,
TypeInfo... parameters) |
boolean |
JavassistTypeInfo.isAssignableFrom(TypeInfo info) |
Constructor and Description |
---|
JavassistParameterInfo(AnnotationHelper annotationHelper,
JavassistAnnotatedParameterInfo annotated,
int index,
TypeInfo parameterType)
Create a new JavassistParameterInfo.
|
SignatureKey(String name,
TypeInfo... typeInfos)
Create a new SignatureKey.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationInfo
Annotation Info
|
interface |
ArrayInfo
Array information
|
interface |
ClassInfo
Class info
|
interface |
EnumInfo
Enumeration info
|
interface |
InterfaceInfo
Interface info
|
interface |
MutableClassInfo
A MutableClassInfo.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTypeInfo
AbstractTypeInfo.
|
class |
DelegateClassInfo
Delegate ClassInfo
|
class |
NumberInfo
Number info
|
class |
PrimitiveInfo
Primitive info
TODO JBREFLECT-4 fix the introspection assumption
|
Modifier and Type | Field and Description |
---|---|
static TypeInfo[] |
MethodInfo.NO_PARAMS_TYPES
No parameters
|
Modifier and Type | Method and Description |
---|---|
TypeInfo[] |
ClassInfo.getActualTypeArguments()
Get the actual type parameters
|
TypeInfo[] |
DelegateClassInfo.getActualTypeArguments() |
TypeInfo[] |
NumberInfo.getActualTypeArguments() |
TypeInfo |
DelegateClassInfo.getArrayType() |
TypeInfo |
PrimitiveInfo.getArrayType() |
TypeInfo |
TypeInfo.getArrayType()
Get an array type
|
TypeInfo |
ClassInfo.getComponentType()
Get the component type if it is a collection or an array
|
TypeInfo |
DelegateClassInfo.getComponentType() |
TypeInfo |
NumberInfo.getComponentType() |
TypeInfo |
ArrayInfo.getComponentType()
Get the component type
|
TypeInfo |
ClassInfo.getKeyType()
Get the key type if it is a map
|
TypeInfo |
DelegateClassInfo.getKeyType() |
TypeInfo |
NumberInfo.getKeyType() |
TypeInfo |
ClassInfo.getOwnerType()
Get the owner type
|
TypeInfo |
DelegateClassInfo.getOwnerType() |
TypeInfo |
NumberInfo.getOwnerType() |
TypeInfo |
ParameterInfo.getParameterType()
Get the parameter type
|
TypeInfo[] |
MethodInfo.getParameterTypes()
Get the parameter types
|
TypeInfo[] |
ConstructorInfo.getParameterTypes()
Get the parameter types
|
TypeInfo |
MethodInfo.getReturnType()
Get the return type
|
TypeInfo |
FieldInfo.getType()
Get the field type
|
TypeInfo |
Value.getType()
Get the type of the value
|
TypeInfo |
AnnotationAttribute.getType()
Get the attribute type
|
TypeInfo |
PrimitiveValue.getType() |
TypeInfo |
TypeInfoFactory.getTypeInfo(Class<?> clazz)
Get a type info
|
TypeInfo |
TypeInfoFactory.getTypeInfo(String name,
ClassLoader cl)
Get a type info
|
TypeInfo |
TypeInfoFactory.getTypeInfo(Type type)
Get a type info
|
TypeInfo |
ClassInfo.getValueType()
Get the value type if it is a map
|
TypeInfo |
DelegateClassInfo.getValueType() |
TypeInfo |
NumberInfo.getValueType() |
Modifier and Type | Method and Description |
---|---|
ConstructorInfo |
ClassInfo.getDeclaredConstructor(TypeInfo... parameters)
Get a declared constructor
|
ConstructorInfo |
DelegateClassInfo.getDeclaredConstructor(TypeInfo... parameters) |
ConstructorInfo |
NumberInfo.getDeclaredConstructor(TypeInfo... parameters) |
MutableConstructorInfo |
MutableClassInfo.getDeclaredConstructor(TypeInfo... parameters)
Get a declared constructor
|
MethodInfo |
ClassInfo.getDeclaredMethod(String name,
TypeInfo... parameters)
Get the declared method
|
MethodInfo |
DelegateClassInfo.getDeclaredMethod(String name,
TypeInfo... parameters) |
MethodInfo |
NumberInfo.getDeclaredMethod(String methodName,
TypeInfo... parameters) |
MutableMethodInfo |
MutableClassInfo.getDeclaredMethod(String name,
TypeInfo... parameters)
Get the declared method
|
boolean |
DelegateClassInfo.isAssignableFrom(TypeInfo info) |
boolean |
PrimitiveInfo.isAssignableFrom(TypeInfo info) |
boolean |
TypeInfo.isAssignableFrom(TypeInfo info)
Mostly using
|
void |
DelegateClassInfo.setDelegate(TypeInfo delegate)
Set the delegate
|
void |
NumberInfo.setDelegate(TypeInfo info)
Set the delegate
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.