public class JavassistParameterizedClassInfo extends DelegateClassInfo implements TypeVariableAware
delegateABSTRACT, 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 and Description |
|---|
JavassistParameterizedClassInfo(JavassistTypeInfoFactoryImpl factory,
ClassInfo delegate,
ClassLoader classLoader,
javassist.bytecode.SignatureAttribute.TypeArgument[] typeArguments,
org.jboss.reflect.plugins.javassist.JavassistTypeVariableSpy spy)
Constructor
|
JavassistParameterizedClassInfo(JavassistTypeInfoFactoryImpl factory,
ClassInfo delegate,
Type[] reflectTypeArguments)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TypeInfo[] |
getActualTypeArguments()
Get the actual type parameters
|
ClassLoader |
getClassLoader()
Get the classloader for this class info.
|
ClassLoader |
getClassLoaderInternal() |
javassist.bytecode.SignatureAttribute.ClassSignature |
getClassSignature() |
TypeInfo |
getComponentType()
Get the component type if it is a collection or an array
|
JavassistTypeInfoFactoryImpl |
getFactory() |
TypeInfo |
getKeyType()
Get the key type if it is a map
|
TypeInfoFactory |
getTypeInfoFactory()
Get the TypeInfoFactory that created this type info
|
String |
getTypeVariable()
Gets the type variable if we are a parameterized type which is part of a
parameterized type and there is a type variable for this type.
|
TypeInfo |
getValueType()
Get the value type if it is a map
|
void |
setTypeVariable(String typeVariable)
Set the type variable
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
convertValue, convertValue, convertValue, equals, equals, getAnnotation, getAnnotations, getArrayType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getDelegate, getGenericInterfaces, getGenericSuperclass, getHashCode, getInterfaces, getModifiers, getName, getOwnerType, getPackage, getRawType, getSimpleName, getSuperclass, getType, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotation, isAnnotationPresent, isAnnotationPresent, isArray, isAssignableFrom, isCollection, isEnum, isInitialized, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setDelegate, setDelegategetAttachment, getAttachment, setAttachmentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getName, getOwnerType, getPackage, getRawType, getSuperclass, isInterfacegetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentgetModifiers, isPublic, isStatic, isVolatileconvertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachmentpublic JavassistParameterizedClassInfo(JavassistTypeInfoFactoryImpl factory, ClassInfo delegate, ClassLoader classLoader, javassist.bytecode.SignatureAttribute.TypeArgument[] typeArguments, org.jboss.reflect.plugins.javassist.JavassistTypeVariableSpy spy)
factory - the javassist type info factorydelegate - the class info containing the parameterized type's raw typeclassLoader - the class loader to use when lazily loading up the argumentstypeArguments - the javassist generic type argumentsspy - used to determine the actual bounds of generic type variablesIllegalArgumentException - if any of the parameters are nullpublic JavassistParameterizedClassInfo(JavassistTypeInfoFactoryImpl factory, ClassInfo delegate, Type[] reflectTypeArguments)
factory - the javassist type info factorydelegate - the class info containing the parameterized type's raw typereflectTypeArguments - the type infos for the type argumentsIllegalArgumentException - if any of the parameters are nullpublic void setTypeVariable(String typeVariable)
TypeVariableAwaresetTypeVariable in interface TypeVariableAwarepublic String getTypeVariable()
ClassInfogetTypeVariable in interface ClassInfogetTypeVariable in class DelegateClassInfopublic TypeInfoFactory getTypeInfoFactory()
TypeInfogetTypeInfoFactory in interface TypeInfogetTypeInfoFactory in class DelegateClassInfopublic ClassLoader getClassLoader()
TypeInfogetClassLoader in interface TypeInfogetClassLoader in class DelegateClassInfopublic TypeInfo[] getActualTypeArguments()
ClassInfogetActualTypeArguments in interface ClassInfogetActualTypeArguments in class DelegateClassInfopublic TypeInfo getComponentType()
ClassInfogetComponentType in interface ClassInfogetComponentType in class DelegateClassInfopublic TypeInfo getKeyType()
ClassInfogetKeyType in interface ClassInfogetKeyType in class DelegateClassInfopublic TypeInfo getValueType()
ClassInfogetValueType in interface ClassInfogetValueType in class DelegateClassInfopublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class DelegateClassInfoprotected void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class DelegateClassInfopublic javassist.bytecode.SignatureAttribute.ClassSignature getClassSignature()
public ClassLoader getClassLoaderInternal()
public JavassistTypeInfoFactoryImpl getFactory()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.