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