de.grogra.reflect
Class XField
java.lang.Object
de.grogra.reflect.MemberBase
de.grogra.reflect.FieldBase
de.grogra.reflect.XField
- All Implemented Interfaces:
- Field, Member
public final class XField
- extends FieldBase
Fields inherited from interface de.grogra.reflect.Member |
ABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE |
Method Summary |
boolean |
getBoolean(java.lang.Object object)
|
byte |
getByte(java.lang.Object object)
|
char |
getChar(java.lang.Object object)
|
java.util.List<Annotation> |
getDeclaredAnnotations()
|
double |
getDouble(java.lang.Object object)
|
float |
getFloat(java.lang.Object object)
|
int |
getInt(java.lang.Object object)
|
long |
getLong(java.lang.Object object)
|
java.lang.Object |
getObject(java.lang.Object object)
|
short |
getShort(java.lang.Object object)
|
void |
setBoolean(java.lang.Object object,
boolean value)
|
void |
setByte(java.lang.Object object,
byte value)
|
void |
setChar(java.lang.Object object,
char value)
|
void |
setConstant(java.lang.Object value)
|
void |
setDouble(java.lang.Object object,
double value)
|
void |
setFloat(java.lang.Object object,
float value)
|
void |
setInt(java.lang.Object object,
int value)
|
void |
setLong(java.lang.Object object,
long value)
|
void |
setObject(java.lang.Object object,
java.lang.Object value)
|
void |
setShort(java.lang.Object object,
short value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getBoolean
public boolean getBoolean(java.lang.Object object)
- Specified by:
getBoolean
in interface Field
- Overrides:
getBoolean
in class FieldBase
getByte
public byte getByte(java.lang.Object object)
- Specified by:
getByte
in interface Field
- Overrides:
getByte
in class FieldBase
getChar
public char getChar(java.lang.Object object)
- Specified by:
getChar
in interface Field
- Overrides:
getChar
in class FieldBase
getDeclaredAnnotations
public java.util.List<Annotation> getDeclaredAnnotations()
getDouble
public double getDouble(java.lang.Object object)
- Specified by:
getDouble
in interface Field
- Overrides:
getDouble
in class FieldBase
getFloat
public float getFloat(java.lang.Object object)
- Specified by:
getFloat
in interface Field
- Overrides:
getFloat
in class FieldBase
getInt
public int getInt(java.lang.Object object)
- Specified by:
getInt
in interface Field
- Overrides:
getInt
in class FieldBase
getLong
public long getLong(java.lang.Object object)
- Specified by:
getLong
in interface Field
- Overrides:
getLong
in class FieldBase
getObject
public java.lang.Object getObject(java.lang.Object object)
- Specified by:
getObject
in interface Field
- Overrides:
getObject
in class FieldBase
getShort
public short getShort(java.lang.Object object)
- Specified by:
getShort
in interface Field
- Overrides:
getShort
in class FieldBase
setBoolean
public void setBoolean(java.lang.Object object,
boolean value)
- Specified by:
setBoolean
in interface Field
- Overrides:
setBoolean
in class FieldBase
setByte
public void setByte(java.lang.Object object,
byte value)
- Specified by:
setByte
in interface Field
- Overrides:
setByte
in class FieldBase
setChar
public void setChar(java.lang.Object object,
char value)
- Specified by:
setChar
in interface Field
- Overrides:
setChar
in class FieldBase
setConstant
public void setConstant(java.lang.Object value)
setDouble
public void setDouble(java.lang.Object object,
double value)
- Specified by:
setDouble
in interface Field
- Overrides:
setDouble
in class FieldBase
setFloat
public void setFloat(java.lang.Object object,
float value)
- Specified by:
setFloat
in interface Field
- Overrides:
setFloat
in class FieldBase
setInt
public void setInt(java.lang.Object object,
int value)
- Specified by:
setInt
in interface Field
- Overrides:
setInt
in class FieldBase
setLong
public void setLong(java.lang.Object object,
long value)
- Specified by:
setLong
in interface Field
- Overrides:
setLong
in class FieldBase
setObject
public void setObject(java.lang.Object object,
java.lang.Object value)
- Specified by:
setObject
in interface Field
- Overrides:
setObject
in class FieldBase
setShort
public void setShort(java.lang.Object object,
short value)
- Specified by:
setShort
in interface Field
- Overrides:
setShort
in class FieldBase