|
|||||||||||
| 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.plugins.AnnotationHolder
org.jboss.reflect.plugins.FieldInfoImpl
A field info
| Field Summary | |
protected ClassInfo |
declaringClass
The declaring class |
protected Field |
field
The field |
protected int |
hash
The hash code |
protected int |
modifiers
The field modifier |
protected String |
name
The field name |
protected TypeInfo |
type
The field type |
| Fields inherited from class org.jboss.reflect.plugins.AnnotationHolder |
annotationMap, annotationsArray |
| 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 | |
FieldInfoImpl()
Create a new field info |
|
FieldInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo type,
int modifiers,
ClassInfo declaring)
Create a new FieldInfo. |
|
| Method Summary | |
protected void |
calculateHash()
Calculate the hash code |
boolean |
equals(Object obj)
|
ClassInfo |
getDeclaringClass()
Get the declaring class |
Field |
getField()
Get the field |
int |
getModifiers()
Get the modifiers |
String |
getName()
Get the name |
TypeInfo |
getType()
Get the field type |
int |
hashCode()
|
boolean |
isPublic()
Whether it is public |
boolean |
isStatic()
Whether it is static |
void |
setField(Field field)
Set the field |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.reflect.plugins.AnnotationHolder |
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations |
| Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, 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.AnnotatedInfo |
getAnnotation, getAnnotations, isAnnotationPresent |
| Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
| Field Detail |
protected String name
protected Field field
protected TypeInfo type
protected int modifiers
protected ClassInfo declaringClass
protected int hash
| Constructor Detail |
public FieldInfoImpl()
public FieldInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo type,
int modifiers,
ClassInfo declaring)
annotations - the annotationsname - the nametype - the field typemodifiers - the field modifiersdeclaring - the declaring class| Method Detail |
public void setField(Field field)
field - the fieldpublic String getName()
FieldInfo
getName in interface FieldInfopublic Field getField()
FieldInfo
getField in interface FieldInfopublic TypeInfo getType()
FieldInfo
getType in interface FieldInfopublic ClassInfo getDeclaringClass()
FieldInfo
getDeclaringClass in interface FieldInfopublic int getModifiers()
ModifierInfo
getModifiers in interface ModifierInfopublic boolean isStatic()
ModifierInfo
isStatic in interface ModifierInfopublic boolean isPublic()
ModifierInfo
isPublic in interface ModifierInfoprotected void toString(org.jboss.util.JBossStringBuilder buffer)
public boolean equals(Object obj)
public int hashCode()
protected void calculateHash()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||