Class MethodPointerExpression

All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler
Direct Known Subclasses:

public class MethodPointerExpression
extends Expression
Represents a method pointer on an object such as foo.&bar which means find the method pointer for the bar method on the foo instance. This is equivalent to: foo.metaClass.getMethodPointer(foo, "bar")
  • Field Details

    • expression

      protected final Expression expression
    • methodName

      protected final Expression methodName
  • Constructor Details

    • MethodPointerExpression

      public MethodPointerExpression​(Expression expression, Expression methodName)
  • Method Details