public class SandboxHelper extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
SandboxHelper() |
Modifier and Type | Method and Description |
---|---|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
static String |
prettyPrint(org.codehaus.groovy.ast.ClassNode node) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
static String |
toMethodDescriptor(org.codehaus.groovy.ast.MethodNode node) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public static String prettyPrint(org.codehaus.groovy.ast.ClassNode node)
public static String toMethodDescriptor(org.codehaus.groovy.ast.MethodNode node)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.