org.jboss.reflect.plugins
Interface ClassInfoHelper

All Known Implementing Classes:
IntrospectionTypeInfoFactoryImpl

public interface ClassInfoHelper

ClassInfoHelper.

Version:
$Revision: 64354 $
Author:
Adrian Brock

Method Summary
 TypeInfo[] getActualTypeArguments(ParameterizedClassInfo classInfo)
          Get the actual type parameters
 TypeInfo getComponentType(ClassInfo classInfo)
          Get the component type for a collection
 ConstructorInfoImpl[] getConstructors(ClassInfoImpl classInfo)
          Get the constructors
 FieldInfoImpl[] getFields(ClassInfoImpl classInfo)
          Get the fields
 InterfaceInfo[] getGenericInterfaces(ClassInfoImpl classInfo)
          Get the generic interfaces
 ClassInfo getGenericSuperClass(ClassInfoImpl classInfo)
          Get the generic super class
 InterfaceInfo[] getInterfaces(ClassInfoImpl classInfo)
          Get the interfaces
 TypeInfo getKeyType(ClassInfo classInfo)
          Get the key type for a map
 MethodInfoImpl[] getMethods(ClassInfoImpl classInfo)
          Get the methods
 TypeInfo getOwnerType(ParameterizedClassInfo classInfo)
          Get the owner type
 PackageInfo getPackage(ClassInfoImpl classInfo)
          Get the package for class
 ClassInfoImpl getSuperClass(ClassInfoImpl classInfo)
          Get the super class
 TypeInfo getTypeInfo(Class clazz)
          Get a type info
 TypeInfo getValueType(ClassInfo classInfo)
          Get the value type for a map
 

Method Detail

getSuperClass

ClassInfoImpl getSuperClass(ClassInfoImpl classInfo)
Get the super class

Parameters:
classInfo - the class info
Returns:
the super class info

getGenericSuperClass

ClassInfo getGenericSuperClass(ClassInfoImpl classInfo)
Get the generic super class

Parameters:
classInfo - the class info
Returns:
the super class info

getInterfaces

InterfaceInfo[] getInterfaces(ClassInfoImpl classInfo)
Get the interfaces

Parameters:
classInfo - the class info
Returns:
the interface info

getGenericInterfaces

InterfaceInfo[] getGenericInterfaces(ClassInfoImpl classInfo)
Get the generic interfaces

Parameters:
classInfo - the class info
Returns:
the interface info

getConstructors

ConstructorInfoImpl[] getConstructors(ClassInfoImpl classInfo)
Get the constructors

Parameters:
classInfo - the class info
Returns:
the constructor info

getFields

FieldInfoImpl[] getFields(ClassInfoImpl classInfo)
Get the fields

Parameters:
classInfo - the class info
Returns:
the field info

getMethods

MethodInfoImpl[] getMethods(ClassInfoImpl classInfo)
Get the methods

Parameters:
classInfo - the class info
Returns:
the method info

getTypeInfo

TypeInfo getTypeInfo(Class clazz)
Get a type info

Parameters:
clazz - the class
Returns:
the type info

getActualTypeArguments

TypeInfo[] getActualTypeArguments(ParameterizedClassInfo classInfo)
Get the actual type parameters

Parameters:
classInfo - the parameterized class info
Returns:
the type parameters

getOwnerType

TypeInfo getOwnerType(ParameterizedClassInfo classInfo)
Get the owner type

Parameters:
classInfo - the parameterized class info
Returns:
the owner type

getComponentType

TypeInfo getComponentType(ClassInfo classInfo)
Get the component type for a collection

Parameters:
classInfo - the class info
Returns:
the component type or null if not a collection

getKeyType

TypeInfo getKeyType(ClassInfo classInfo)
Get the key type for a map

Parameters:
classInfo - the class info
Returns:
the key type or null if not a map

getValueType

TypeInfo getValueType(ClassInfo classInfo)
Get the value type for a map

Parameters:
classInfo - the class info
Returns:
the value type or null if not a map

getPackage

PackageInfo getPackage(ClassInfoImpl classInfo)
Get the package for class

Parameters:
classInfo - the class info
Returns:
the package


Copyright ? 2007 JBoss Inc.. All Rights Reserved.