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