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.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 |
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.
|
TypeInfo |
AbstractPropertyInfo.getType() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPropertyInfo.init(String name,
String upperName,
TypeInfo type)
Initialize fields.
|
Object |
AbstractBeanInfo.invoke(Object bean,
String name,
TypeInfo[] paramTypes,
Object[] params) |
Object |
AbstractBeanInfo.invokeStatic(String name,
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 JBMICROCONT-118 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 |
ClassValueImpl.type
The type
|
protected TypeInfo |
EnumValueImpl.type
The type
|
protected TypeInfo |
ArrayValueImpl.type
The type
|
protected TypeInfo |
FieldInfoImpl.type
The field type
|
protected TypeInfo |
AnnotationAttributeImpl.type
The attribute type
|
protected TypeInfo |
StringValueImpl.type
The 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 |
ClassValueImpl.getType() |
TypeInfo |
EnumValueImpl.getType() |
TypeInfo |
AnnotationValueImpl.getType() |
TypeInfo |
ArrayValueImpl.getType() |
TypeInfo |
FieldInfoImpl.getType() |
TypeInfo |
AnnotationAttributeImpl.getType() |
TypeInfo |
StringValueImpl.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) |
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 name,
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 |
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 |
ParameterizedArrayInfo.getComponentType() |
TypeInfo |
ParameterizedClassInfo.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) |
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
|
TypeInfo |
ParameterizedClassInfo.getValueType() |
TypeInfo |
IntrospectionTypeInfoFactoryImpl.getValueType(ClassInfo classInfo) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.instantiate(Class<?> clazz) |
protected TypeInfo |
IntrospectionTypeInfoFactoryImpl.instantiate(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) |
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 |
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 |
---|---|
TypeInfo[] |
JavassistTypeInfo.getActualTypeArguments() |
TypeInfo |
JavassistTypeInfo.getArrayType() |
TypeInfo |
JavassistArrayInfoImpl.getComponentType() |
TypeInfo |
JavassistTypeInfo.getComponentType() |
TypeInfo |
JavassistTypeInfo.getKeyType() |
TypeInfo |
JavassistTypeInfo.getOwnerType() |
TypeInfo |
JavassistParameterInfo.getParameterType() |
TypeInfo[] |
JavassistMethodInfo.getParameterTypes() |
TypeInfo[] |
JavassistConstructorInfo.getParameterTypes() |
TypeInfo |
JavassistMethodInfo.getReturnType() |
TypeInfo |
JavassistFieldInfo.getType() |
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(Class<?> clazz) |
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(Class<?> clazz) |
protected TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(javassist.CtClass ctClass)
Get the type info
|
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(String name,
ClassLoader cl) |
TypeInfo |
JavassistTypeInfoFactoryImpl.getTypeInfo(Type type) |
TypeInfo |
JavassistTypeInfoFactory.getTypeInfo(Type type) |
TypeInfo |
JavassistTypeInfo.getValueType() |
Modifier and Type | Method and Description |
---|---|
ConstructorInfo |
JavassistTypeInfo.getDeclaredConstructor(TypeInfo[] parameters) |
MethodInfo |
JavassistTypeInfo.getDeclaredMethod(String name,
TypeInfo[] parameters) |
boolean |
JavassistTypeInfo.isAssignableFrom(TypeInfo info) |
Constructor and Description |
---|
JavassistParameterInfo(AnnotationHelper annotationHelper,
JavassistAnnotatedParameterInfo annotated,
int index,
TypeInfo parameterType)
Create a new JavassistParameterInfo.
|
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
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTypeInfo
AbstractTypeInfo.
|
class |
DelegateClassInfo
Delegate ClassInfo
|
class |
NumberInfo
Number info
|
class |
PrimitiveInfo
Primitive info
TODO JBMICROCONT-118 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[] |
NumberInfo.getActualTypeArguments() |
TypeInfo[] |
DelegateClassInfo.getActualTypeArguments() |
TypeInfo[] |
ClassInfo.getActualTypeArguments()
Get the actual type parameters
|
TypeInfo |
DelegateClassInfo.getArrayType() |
TypeInfo |
PrimitiveInfo.getArrayType() |
TypeInfo |
TypeInfo.getArrayType()
Get an array type
|
TypeInfo |
NumberInfo.getComponentType() |
TypeInfo |
DelegateClassInfo.getComponentType() |
TypeInfo |
ClassInfo.getComponentType()
Get the component type if it is a collection or an array
|
TypeInfo |
ArrayInfo.getComponentType()
Get the component type
|
TypeInfo |
NumberInfo.getKeyType() |
TypeInfo |
DelegateClassInfo.getKeyType() |
TypeInfo |
ClassInfo.getKeyType()
Get the key type if it is a map
|
TypeInfo |
NumberInfo.getOwnerType() |
TypeInfo |
DelegateClassInfo.getOwnerType() |
TypeInfo |
ClassInfo.getOwnerType()
Get the owner type
|
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 |
Value.getType()
Get the type of the value
|
TypeInfo |
PrimitiveValue.getType() |
TypeInfo |
FieldInfo.getType()
Get the field type
|
TypeInfo |
AnnotationAttribute.getType()
Get the attribute type
|
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 |
NumberInfo.getValueType() |
TypeInfo |
DelegateClassInfo.getValueType() |
TypeInfo |
ClassInfo.getValueType()
Get the value type if it is a map
|
Modifier and Type | Method and Description |
---|---|
ConstructorInfo |
NumberInfo.getDeclaredConstructor(TypeInfo[] parameters) |
ConstructorInfo |
DelegateClassInfo.getDeclaredConstructor(TypeInfo[] parameters) |
ConstructorInfo |
ClassInfo.getDeclaredConstructor(TypeInfo[] parameters)
Get a declared constructor
|
MethodInfo |
NumberInfo.getDeclaredMethod(String name,
TypeInfo[] parameters) |
MethodInfo |
DelegateClassInfo.getDeclaredMethod(String name,
TypeInfo[] parameters) |
MethodInfo |
ClassInfo.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 |
NumberInfo.setDelegate(TypeInfo info)
Set the delegate
|
void |
DelegateClassInfo.setDelegate(TypeInfo delegate)
Set the delegate
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.