@Instantiator(value=STANDARD) public class Android10Instantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
ObjectInputStream
.Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
newStaticMethod |
private java.lang.Class<T> |
type |
Constructor and Description |
---|
Android10Instantiator(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.reflect.Method |
getNewStaticMethod() |
T |
newInstance()
Returns a new instance of an object.
|
private final java.lang.Class<T> type
private final java.lang.reflect.Method newStaticMethod
public Android10Instantiator(java.lang.Class<T> type)
public T newInstance()
ObjectInstantiator
newInstance
in interface ObjectInstantiator<T>
private static java.lang.reflect.Method getNewStaticMethod()