org.jboss.reflect.plugins.introspection
Class ParameterizedArrayInfo

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.reflect.spi.AbstractTypeInfo
          extended by org.jboss.reflect.spi.DelegateClassInfo
              extended by org.jboss.reflect.plugins.introspection.ParameterizedClassInfo
                  extended by org.jboss.reflect.plugins.introspection.ParameterizedArrayInfo
All Implemented Interfaces:
Serializable, Cloneable, AnnotatedInfo, ArrayInfo, ClassInfo, InterfaceInfo, ModifierInfo, TypeInfo, org.jboss.util.JBossInterface

public class ParameterizedArrayInfo
extends ParameterizedClassInfo
implements ArrayInfo

ParameterizedArrayInfo.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.reflect.plugins.introspection.ParameterizedClassInfo
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
ParameterizedArrayInfo(IntrospectionTypeInfoFactoryImpl factory, ArrayInfo delegate, ParameterizedType parameterizedType)
          Create a new ParameterizedArrayInfo.
 
Method Summary
 TypeInfo getComponentType()
          Get the component type if it is a collection or an array
 
Methods inherited from class org.jboss.reflect.plugins.introspection.ParameterizedClassInfo
getActualTypeArguments, getKeyType, getOwnerType, getRawType, getTypeInfoFactory, getValueType, toShortString, toString
 
Methods inherited from class org.jboss.reflect.spi.DelegateClassInfo
convertValue, convertValue, convertValue, equals, getAnnotation, getAnnotations, getArrayType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, 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
 
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.reflect.spi.ClassInfo
getActualTypeArguments, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getValueType, isInterface
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic, isVolatile
 
Methods inherited from interface org.jboss.reflect.spi.TypeInfo
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
 

Constructor Detail

ParameterizedArrayInfo

public ParameterizedArrayInfo(IntrospectionTypeInfoFactoryImpl factory,
                              ArrayInfo delegate,
                              ParameterizedType parameterizedType)
Create a new ParameterizedArrayInfo.

Parameters:
factory - the factory
delegate - the raw array info
parameterizedType - the parameterized type
Method Detail

getComponentType

public TypeInfo getComponentType()
Description copied from interface: ClassInfo
Get the component type if it is a collection or an array

Specified by:
getComponentType in interface ArrayInfo
Specified by:
getComponentType in interface ClassInfo
Overrides:
getComponentType in class ParameterizedClassInfo
Returns:
the component type


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.