| Modifier and Type | Class and Description |
|---|---|
| public static interface | ReflectionProvider.Visitor
A visitor interface for serializable fields defined in a class. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | fieldDefinedInClass(String fieldName, Class<T> type)
Deprecated
As of 1.4.5, use
getFieldOrNull(Class, String) instead
|
| public Field | |
| public Field | Returns: the field itself or nullclass where the field was defined definedIn, String field name fieldName)Returns a field defined in some class. |
| public Class | |
| public Object | Returns: a new instance of this typethe type to instantiate type)Creates a new instance of the specified type. |
| public void | |
| public void |
| fieldDefinedInClass | back to summary |
|---|---|
| public boolean fieldDefinedInClass(String fieldName, Class<T> type)
Deprecated As of 1.4.5, use | |
| getField | back to summary |
|---|---|
| public Field getField(Class<T> definedIn, String fieldName) Returns a field defined in some class.
| |
| getFieldOrNull | back to summary |
|---|---|
| public Field getFieldOrNull(Class<T> definedIn, String fieldName) Returns a field defined in some class. | |
| getFieldType | back to summary |
|---|---|
| public Class | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Class<T> type) Creates a new instance of the specified type. It is in the responsibility of the implementation how such an instance is created. | |
| visitSerializableFields | back to summary |
|---|---|
| public void visitSerializableFields(Object object, ReflectionProvider. | |
| writeField | back to summary |
|---|---|
| public void writeField(Object object, String fieldName, Object value, Class<T> definedIn) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |