ObjectInstantiator for Android which creates objects using the constructor from the first
non-serializable parent class constructor, using internal methods on the Dalvik implementation of
ObjectStreamClass.
| Modifier and Type | Field and Description |
|---|---|
| private final Method | |
| private final ObjectStreamClass | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Method | |
| public T | newInstance()
Implements org. Returns a new instance of an object. |
| newInstanceMethod | back to summary |
|---|---|
| private final Method newInstanceMethod | |
| objectStreamClass | back to summary |
|---|---|
| private final ObjectStreamClass objectStreamClass | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| AndroidSerializationInstantiator | back to summary |
|---|---|
| public AndroidSerializationInstantiator(Class<T> type) | |
| getNewInstanceMethod | back to summary |
|---|---|
| private static Method getNewInstanceMethod() | |
| newInstance | back to summary |
|---|---|
| public T newInstance() Implements org. Doc from org. Returns a new instance of an object. The returned object's class is defined by the implementation.
| |