|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.spi.AbstractTypeInfo
org.jboss.reflect.spi.DelegateClassInfo
org.jboss.reflect.plugins.introspection.ParameterizedClassInfo
public class ParameterizedClassInfo
ParameterizedClassInfo.
| Field Summary | |
|---|---|
protected IntrospectionTypeInfoFactoryImpl |
factory
The factory |
| Fields inherited from class org.jboss.reflect.spi.DelegateClassInfo |
|---|
delegate |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
|---|
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 Summary | |
|---|---|
ParameterizedClassInfo(IntrospectionTypeInfoFactoryImpl factory,
ClassInfo delegate,
ParameterizedType parameterizedType)
Create a new ParameterizedClassInfo. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.jboss.reflect.spi.AbstractTypeInfo |
|---|
getAttachment, getAttachment, setAttachment |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString |
| Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
|---|
getAttachment, getAttachment, setAttachment |
| Field Detail |
|---|
protected transient IntrospectionTypeInfoFactoryImpl factory
| Constructor Detail |
|---|
public ParameterizedClassInfo(IntrospectionTypeInfoFactoryImpl factory,
ClassInfo delegate,
ParameterizedType parameterizedType)
factory - the factorydelegate - the raw array infoparameterizedType - the parameterized type| Method Detail |
|---|
public void setTypeVariable(String typeVariable)
TypeVariableAware
setTypeVariable in interface TypeVariableAwarepublic String getTypeVariable()
ClassInfo
getTypeVariable in interface ClassInfogetTypeVariable in class DelegateClassInfopublic TypeInfoFactory getTypeInfoFactory()
TypeInfo
getTypeInfoFactory in interface TypeInfogetTypeInfoFactory in class DelegateClassInfopublic TypeInfo[] getActualTypeArguments()
ClassInfo
getActualTypeArguments in interface ClassInfogetActualTypeArguments in class DelegateClassInfopublic TypeInfo getOwnerType()
ClassInfo
getOwnerType in interface ClassInfogetOwnerType in class DelegateClassInfopublic ClassInfo getRawType()
ClassInfo
getRawType in interface ClassInfogetRawType in class DelegateClassInfopublic TypeInfo getComponentType()
ClassInfo
getComponentType in interface ClassInfogetComponentType in class DelegateClassInfopublic TypeInfo getKeyType()
ClassInfo
getKeyType in interface ClassInfogetKeyType in class DelegateClassInfopublic TypeInfo getValueType()
ClassInfo
getValueType 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 DelegateClassInfo
|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||