T
- Type instantiated@Instantiator(value=NOT_COMPLIANT) public class ConstructorInstantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
ObjectInstantiator
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.reflect.Constructor<T> |
constructor |
构造器和说明 |
---|
ConstructorInstantiator(java.lang.Class<T> type) |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 ObjectInstantiator<T>