public class SandboxTransformer
extends org.codehaus.groovy.control.customizers.CompilationCustomizer
implements groovy.lang.GroovyObject
| Type | Property and Description |
|---|---|
boolean |
isIntercept |
| Modifier and Type | Class and Description |
|---|---|
class |
SandboxTransformer.VisitorImpl |
| Constructor and Description |
|---|
SandboxTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
call(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.classgen.GeneratorContext context,
org.codehaus.groovy.ast.ClassNode classNode) |
org.codehaus.groovy.ast.ClassCodeExpressionTransformer |
createVisitor(org.codehaus.groovy.control.SourceUnit source) |
static org.codehaus.groovy.syntax.Token |
getASSIGNMENT_OP() |
static Object |
getCheckerClass() |
static org.codehaus.groovy.ast.expr.Expression |
getCLOSURE_THIS() |
boolean |
getInterceptArray() |
boolean |
getInterceptAttribute() |
boolean |
getInterceptConstructor() |
boolean |
getInterceptMethodCall() |
boolean |
getInterceptProperty() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
static Object |
getScriptBytecodeAdapterClass() |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
isInterceptArray() |
boolean |
isInterceptAttribute() |
boolean |
isInterceptConstructor() |
boolean |
isInterceptMethodCall() |
boolean |
isInterceptProperty() |
void |
setInterceptArray(boolean value) |
void |
setInterceptAttribute(boolean value) |
void |
setInterceptConstructor(boolean value) |
void |
setInterceptMethodCall(boolean value) |
void |
setInterceptProperty(boolean value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic boolean getInterceptMethodCall()
public boolean isInterceptMethodCall()
public void setInterceptMethodCall(boolean value)
public boolean getInterceptConstructor()
public boolean isInterceptConstructor()
public void setInterceptConstructor(boolean value)
public boolean getInterceptProperty()
public boolean isInterceptProperty()
public void setInterceptProperty(boolean value)
public boolean getInterceptArray()
public boolean isInterceptArray()
public void setInterceptArray(boolean value)
public boolean getInterceptAttribute()
public boolean isInterceptAttribute()
public void setInterceptAttribute(boolean value)
public static final org.codehaus.groovy.syntax.Token getASSIGNMENT_OP()
public static final Object getCheckerClass()
public static final Object getScriptBytecodeAdapterClass()
public static final org.codehaus.groovy.ast.expr.Expression getCLOSURE_THIS()
public void call(org.codehaus.groovy.control.SourceUnit source,
org.codehaus.groovy.classgen.GeneratorContext context,
org.codehaus.groovy.ast.ClassNode classNode)
call in class org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperationpublic org.codehaus.groovy.ast.ClassCodeExpressionTransformer createVisitor(org.codehaus.groovy.control.SourceUnit source)
Copyright © 2016. All Rights Reserved.