Groovy Documentation

org.gradle.api
[Java] 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 newInstance(java.lang.Class type, java.lang.Object parameters)

Create a new instance of T, using parameters as the construction parameters.

 

Method Detail

newInstance

public T newInstance(java.lang.Class type, java.lang.Object parameters)
Create a new instance of T, using parameters as the construction parameters.


 

Groovy Documentation