T
- the type of the objects that will be finally created by the instantiatorspublic static final class Instantiators.OngoingInstantiatorCreation<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Instantiators.OngoingInstantiatorCreation<T> |
ofType(InstantiatorType newType) |
<A> Instantiator<A,T> |
withArgumentType(java.lang.Class<A> argumentClass)
Creates the Instantiator for the previously specified object type and the given type of arguments for the
object constructor.
|
public Instantiators.OngoingInstantiatorCreation<T> ofType(InstantiatorType newType)
public <A> Instantiator<A,T> withArgumentType(java.lang.Class<A> argumentClass)
argumentClass
- the type of the argument of the constructor for the object