org.jboss.reflect.spi
Interface FieldInfo

All Superinterfaces:
AnnotatedInfo, Cloneable, org.jboss.util.JBossInterface, MemberInfo, ModifierInfo
All Known Implementing Classes:
FieldInfoImpl

public interface FieldInfo
extends AnnotatedInfo, MemberInfo

A field 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
 ClassInfo getDeclaringClass()
          Get the declaring class
 Field getField()
          Get the field
 String getName()
          Get the name
 TypeInfo getType()
          Get the field type
 
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
 

Method Detail

getName

String getName()
Get the name

Returns:
the field name

getField

Field getField()
Get the field

Returns:
the field

getType

TypeInfo getType()
Get the field type

Returns:
the field type

getDeclaringClass

ClassInfo getDeclaringClass()
Get the declaring class

Specified by:
getDeclaringClass in interface MemberInfo
Returns:
the declaring class


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