E
- the type of the field's classT
- the type of the fieldpublic class FieldAccessor<E,T>
extends java.lang.Object
Constructor and Description |
---|
FieldAccessor(java.lang.Class<E> aClass,
java.lang.String name) |
FieldAccessor(java.lang.Class<E> aClass,
java.lang.String name,
java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
get(E object) |
boolean |
isAvailable() |
void |
set(E object,
T value) |
public FieldAccessor(java.lang.Class<E> aClass, java.lang.String name)