Class MethodGroupExpression

All Implemented Interfaces:
UserDataStore, IFreezable, INode, Cloneable

public class MethodGroupExpression extends Expression
  • Field Details

    • CLOSURE_ARGUMENT_RULE

      public static final Role<Expression> CLOSURE_ARGUMENT_RULE
    • DOUBLE_COLON_ROLE

      public static final TokenRole DOUBLE_COLON_ROLE
  • Constructor Details

    • MethodGroupExpression

      public MethodGroupExpression(int offset, Expression target, String methodName)
  • Method Details

    • getClosureArguments

      public final AstNodeCollection<Expression> getClosureArguments()
    • getDoubleColonToken

      public final JavaTokenNode getDoubleColonToken()
    • getMethodName

      public final String getMethodName()
    • setMethodName

      public final void setMethodName(String name)
    • getMethodNameToken

      public final Identifier getMethodNameToken()
    • setMethodNameToken

      public final void setMethodNameToken(Identifier token)
    • getTarget

      public final Expression getTarget()
    • setTarget

      public final void setTarget(Expression value)
    • acceptVisitor

      public <T, R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
      Specified by:
      acceptVisitor in class AstNode
    • matches

      public boolean matches(INode other, Match match)
      Specified by:
      matches in interface INode
      Specified by:
      matches in class AstNode
    • isReference

      public boolean isReference()
      Overrides:
      isReference in class AstNode