Interface Reflection.FieldAccessor<T>
- Type Parameters:
T
- - field type.
- Enclosing class:
- Reflection
public static interface Reflection.FieldAccessor<T>
An interface for retrieving the field content.
-
Method Summary
-
Method Details
-
get
Retrieve the content of a field.- Parameters:
target
- - the target object, or NULL for a static field.- Returns:
- The value of the field.
-
set
Set the content of a field.- Parameters:
target
- - the target object, or NULL for a static field.value
- - the new value of the field.
-
hasField
Determine if the given object has this field.- Parameters:
target
- - the object to test.- Returns:
- TRUE if it does, FALSE otherwise.
-