Class BlockStatementMatch

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    public class BlockStatementMatch
    extends Object
    implements groovy.lang.GroovyObject
    • Constructor Detail

      • BlockStatementMatch

        public BlockStatementMatch​(org.codehaus.groovy.ast.expr.MethodCallExpression whole,
                                   String methodName,
                                   org.codehaus.groovy.ast.expr.ClosureExpression body)
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public Object invokeMethod​(String method,
                                   Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public Object getProperty​(String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • getWhole

        public final org.codehaus.groovy.ast.expr.MethodCallExpression getWhole()
      • getMethodName

        public final String getMethodName()
      • getArguments

        public final org.codehaus.groovy.ast.expr.TupleExpression getArguments()
      • getBody

        public final org.codehaus.groovy.ast.expr.ClosureExpression getBody()
      • getArgument

        @Nullable
        public org.codehaus.groovy.ast.expr.Expression getArgument​(int i)