|
||||||||||
| 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.AbstractAnnotatedInfo
org.jboss.reflect.plugins.AnnotationHolder
org.jboss.reflect.plugins.FieldInfoImpl
org.jboss.reflect.plugins.introspection.ReflectFieldInfoImpl
public class ReflectFieldInfoImpl
A field info
| Field Summary | |
|---|---|
protected Field |
field
The field |
| Fields inherited from class org.jboss.reflect.plugins.FieldInfoImpl |
|---|
declaringClass, hash, modifiers, name, 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 | |
|---|---|
ReflectFieldInfoImpl()
Create a new field info |
|
ReflectFieldInfoImpl(AnnotationValue[] annotations,
String name,
TypeInfo type,
int modifiers,
ClassInfo declaring)
Create a new FieldInfo. |
|
| Method Summary | |
|---|---|
Object |
get(Object target)
Get the value of the field |
Field |
getField()
Get the field |
Object |
set(Object target,
Object value)
Set the value of the field |
void |
setField(Field field)
Set the field |
| Methods inherited from class org.jboss.reflect.plugins.FieldInfoImpl |
|---|
calculateHash, equals, getDeclaringClass, getModifiers, getName, getType, hashCode, isPublic, isStatic, isVolatile, toString |
| Methods inherited from class org.jboss.reflect.plugins.AnnotationHolder |
|---|
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations |
| Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo |
|---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
| 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, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString, toShortString |
| Field Detail |
|---|
protected transient Field field
| Constructor Detail |
|---|
public ReflectFieldInfoImpl()
public ReflectFieldInfoImpl(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 Field getField()
public Object get(Object target)
throws Throwable
FieldInfo
get in interface FieldInfoget in class FieldInfoImpltarget - the target
Throwable - for any error
public Object set(Object target,
Object value)
throws Throwable
FieldInfo
set in interface FieldInfoset in class FieldInfoImpltarget - the targetvalue - the value
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||