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