Methods
Modifier and Type |
Method and Description |
boolean |
getDebug() |
boolean |
getEmptyMethods() |
ClassLoader |
getOverride() |
GroovyObject |
instantiateAggregate(List<Class> interfaces) |
GroovyObject |
instantiateAggregate(Map closureMap,
List<Class> interfaces) |
GroovyObject |
instantiateAggregate(Map closureMap,
List<Class> interfaces,
Class clazz) |
GroovyObject |
instantiateAggregate(Map closureMap,
List<Class> interfaces,
Class clazz,
Object[] constructorArgs) |
GroovyObject |
instantiateAggregateFromBaseClass(Class clazz) |
GroovyObject |
instantiateAggregateFromBaseClass(Class clazz,
Object[] constructorArgs) |
GroovyObject |
instantiateAggregateFromBaseClass(Closure cl,
Class clazz) |
GroovyObject |
instantiateAggregateFromBaseClass(Map map,
Class clazz) |
GroovyObject |
instantiateAggregateFromBaseClass(Map map,
Class clazz,
Object[] constructorArgs) |
GroovyObject |
instantiateAggregateFromInterface(Class clazz) |
GroovyObject |
instantiateAggregateFromInterface(Map map,
Class clazz) |
GroovyObject |
instantiateDelegate(List<Class> interfaces,
Object delegate) |
GroovyObject |
instantiateDelegate(Map closureMap,
List<Class> interfaces,
Object delegate) |
GroovyObject |
instantiateDelegate(Object delegate) |
GroovyObject |
instantiateDelegateWithBaseClass(Map closureMap,
List<Class> interfaces,
Object delegate) |
GroovyObject |
instantiateDelegateWithBaseClass(Map closureMap,
List<Class> interfaces,
Object delegate,
Class baseClass) |
GroovyObject |
instantiateDelegateWithBaseClass(Map closureMap,
List<Class> interfaces,
Object delegate,
Class baseClass,
String name)
Creates a proxy with a delegate object.
|
void |
setDebug(boolean debug)
Instructs ProxyGenerator to dump generated Groovy
source code to standard output during construction.
|
void |
setEmptyMethods(boolean emptyMethods)
Changes generated methods to have empty implementations.
|
void |
setOverride(ClassLoader override) |