Modifier and Type | Field and Description |
---|---|
protected Class |
declaringClass |
protected String |
fieldName |
protected Class |
fieldType |
String |
fullType |
protected int |
modifiers |
Reflect |
reflect |
int |
wrapperType |
Modifier and Type | Method and Description |
---|---|
void |
copyValue(Object from,
Object to) |
Class |
getDeclaringClass() |
Class |
getFieldType()
Return the type of the field as a Class.
|
int |
getModifiers() |
String |
getName() |
String |
getType()
Return the type of the field as a Java encoded type string.
|
Wrapper |
getValue(Object from,
Wrapper dest)
Get the value of the field.
|
Wrapper |
getValueDontCheckObject(Object from,
Wrapper dest) |
void |
makeWrapperCompatible(Wrapper w) |
void |
setValue(Object to,
Wrapper value)
Set the value of the field.
|
void |
setValueDontCheckObject(Object to,
Wrapper value) |
String |
toString()
Return a String representation of this object.
|
public int wrapperType
public String fullType
protected int modifiers
protected Class declaringClass
public Reflect reflect
protected String fieldName
protected Class fieldType
public String toString()
Object
public String getType()
public Class getFieldType()
public Wrapper getValueDontCheckObject(Object from, Wrapper dest) throws IllegalArgumentException, IllegalAccessException
public Wrapper getValue(Object from, Wrapper dest) throws IllegalArgumentException, IllegalAccessException
from
- The object to retrieve the field value from, or null for static fields.dest
- An optional destination wrapper value. If it is null then a new one will be
created and returned.IllegalArgumentException
IllegalAccessException
public void setValueDontCheckObject(Object to, Wrapper value) throws IllegalArgumentException, IllegalAccessException
public void setValue(Object to, Wrapper value) throws IllegalArgumentException, IllegalAccessException
to
- The object to set the field value to, or null for static fields.value
- The value to set.IllegalArgumentException
IllegalAccessException
public void makeWrapperCompatible(Wrapper w)
public int getModifiers()
getModifiers
in interface Member
public Class getDeclaringClass()
getDeclaringClass
in interface Member