public class ParameterizedClassInfo extends DelegateClassInfo implements TypeVariableAware
Modifier and Type | Field and Description |
---|---|
protected IntrospectionTypeInfoFactoryImpl |
factory
The factory
|
delegate
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
Constructor and Description |
---|
ParameterizedClassInfo(IntrospectionTypeInfoFactoryImpl factory,
ClassInfo delegate,
ParameterizedType parameterizedType)
Create a new ParameterizedClassInfo.
|
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
|
TypeInfo |
getKeyType()
Get the key type if it is a map
|
TypeInfo |
getOwnerType()
Get the owner type
|
ClassInfo |
getRawType()
Get the raw type
|
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, getClassLoader, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getDelegate, getGenericInterfaces, getGenericSuperclass, getHashCode, getInterfaces, getModifiers, getName, getPackage, getSimpleName, getSuperclass, getType, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotation, isAnnotationPresent, isAnnotationPresent, isArray, isAssignableFrom, isCollection, isEnum, isInitialized, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setDelegate, setDelegate
getAttachment, getAttachment, setAttachment
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
getAttachment, getAttachment, setAttachment
protected transient IntrospectionTypeInfoFactoryImpl factory
public ParameterizedClassInfo(IntrospectionTypeInfoFactoryImpl factory, ClassInfo delegate, ParameterizedType parameterizedType)
factory
- the factorydelegate
- the raw array infoparameterizedType
- the parameterized typepublic void setTypeVariable(String typeVariable)
TypeVariableAware
setTypeVariable
in interface TypeVariableAware
public String getTypeVariable()
ClassInfo
getTypeVariable
in interface ClassInfo
getTypeVariable
in class DelegateClassInfo
public TypeInfoFactory getTypeInfoFactory()
TypeInfo
getTypeInfoFactory
in interface TypeInfo
getTypeInfoFactory
in class DelegateClassInfo
public TypeInfo[] getActualTypeArguments()
ClassInfo
getActualTypeArguments
in interface ClassInfo
getActualTypeArguments
in class DelegateClassInfo
public TypeInfo getOwnerType()
ClassInfo
getOwnerType
in interface ClassInfo
getOwnerType
in class DelegateClassInfo
public ClassInfo getRawType()
ClassInfo
getRawType
in interface ClassInfo
getRawType
in class DelegateClassInfo
public TypeInfo getComponentType()
ClassInfo
getComponentType
in interface ClassInfo
getComponentType
in class DelegateClassInfo
public TypeInfo getKeyType()
ClassInfo
getKeyType
in interface ClassInfo
getKeyType
in class DelegateClassInfo
public TypeInfo getValueType()
ClassInfo
getValueType
in interface ClassInfo
getValueType
in class DelegateClassInfo
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class DelegateClassInfo
protected void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class DelegateClassInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.