org.jboss.reflect.spi
Interface ClassInfo

All Superinterfaces:
AnnotatedInfo, Cloneable, org.jboss.util.JBossInterface, ModifierInfo, TypeInfo
All Known Subinterfaces:
AnnotationInfo, ArrayInfo, EnumInfo, InterfaceInfo
All Known Implementing Classes:
AnnotationInfoImpl, ArrayInfoImpl, ClassInfoImpl, EnumInfoImpl, InterfaceInfoImpl

public interface ClassInfo
extends AnnotatedInfo, ModifierInfo, TypeInfo

Class info

Author:
Bill Burke, Adrian Brock

Field Summary
 
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
 
Method Summary
 ConstructorInfo[] getDeclaredConstructors()
          Get the declared constructors
 FieldInfo getDeclaredField(String name)
          Get the declared field
 FieldInfo[] getDeclaredFields()
          Get the declared fields
 MethodInfo getDeclaredMethod(String name, TypeInfo[] parameters)
          Get the declared method
 MethodInfo[] getDeclaredMethods()
          Get the declared methods
 InterfaceInfo[] getInterfaces()
          Get the interfaces
 String getName()
          Get the class name
 ClassInfo getSuperclass()
          Get the super class
 boolean isInterface()
          Whether it is an interface
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic
 
Methods inherited from interface org.jboss.reflect.spi.TypeInfo
getType
 

Method Detail

getName

public String getName()
Get the class name

Specified by:
getName in interface TypeInfo
Returns:
the name

isInterface

public boolean isInterface()
Whether it is an interface

Returns:
true when an interface

getInterfaces

public InterfaceInfo[] getInterfaces()
Get the interfaces

Returns:
the interfaces

getDeclaredMethod

public MethodInfo getDeclaredMethod(String name,
                                    TypeInfo[] parameters)
Get the declared method

Parameters:
name - the method name
parameters - the parameters
Returns:
the method info

getDeclaredMethods

public MethodInfo[] getDeclaredMethods()
Get the declared methods

Returns:
the methods

getDeclaredField

public FieldInfo getDeclaredField(String name)
Get the declared field

Parameters:
name - the field name
Returns:
the field

getDeclaredFields

public FieldInfo[] getDeclaredFields()
Get the declared fields

Returns:
the fields

getDeclaredConstructors

public ConstructorInfo[] getDeclaredConstructors()
Get the declared constructors

Returns:
the constructors

getSuperclass

public ClassInfo getSuperclass()
Get the super class

Returns:
the super class


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.