public class BlockStatementMatch extends Object implements groovy.lang.GroovyObject
Modifier and Type | Field and Description |
---|---|
org.codehaus.groovy.ast.expr.TupleExpression |
arguments |
org.codehaus.groovy.ast.expr.ClosureExpression |
body |
String |
methodName |
org.codehaus.groovy.ast.expr.MethodCallExpression |
whole |
Constructor and Description |
---|
BlockStatementMatch(org.codehaus.groovy.ast.expr.MethodCallExpression whole,
String methodName,
org.codehaus.groovy.ast.expr.ClosureExpression body) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.groovy.ast.expr.Expression |
getArgument(int i) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public final org.codehaus.groovy.ast.expr.MethodCallExpression whole
public final String methodName
public final org.codehaus.groovy.ast.expr.TupleExpression arguments
public final org.codehaus.groovy.ast.expr.ClosureExpression body
public BlockStatementMatch(org.codehaus.groovy.ast.expr.MethodCallExpression whole, String methodName, org.codehaus.groovy.ast.expr.ClosureExpression body)
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
@Nullable public org.codehaus.groovy.ast.expr.Expression getArgument(int i)
Copyright © 2016–2017. All rights reserved.