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