org.gradle.api
Interface Instantiator


public interface Instantiator

An object that can create new instances of a given type, which may be decorated in some fashion.


Method Summary
<T> T
newInstance(Class<T> type, Object... parameters)
          Create a new instance of T, using parameters as the construction parameters.
 

Method Detail

newInstance

<T> T newInstance(Class<T> type,
                  Object... parameters)
Create a new instance of T, using parameters as the construction parameters.