Modifier and Type | Method and Description |
---|---|
public <T> T | Returns: an instance of requested interface type.a receiver of the previously evaluated script. receiver, Class<T> an interface type of the returning instance. clazz)Returns a instance of requested interface type from a previously evaluated script. |
getInstance | back to summary |
---|---|
public <T> T getInstance(Object receiver, Class<T> clazz) Returns a instance of requested interface type from a previously evaluated script. |