Package: org.codehaus.groovy.ast.expr

## [Java] Class MethodReferenceExpression

- org.codehaus.groovy.ast.expr.MethodReferenceExpression

- Represents a method reference or a constructor reference, e.g. System.out::println OR Objects::requireNonNull OR Integer::new OR int[]::new

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class MethodPointerExpression` | `expression, methodName`
    `class Expression` | `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MethodReferenceExpression (Expression expression, Expression methodName)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `String` | `getText()`
    `` | `Expression` | `transformExpression(ExpressionTransformer transformer)`
    `` | `void` | `visit(GroovyCodeVisitor visitor)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class MethodPointerExpression` | `getExpression, getMethodName, getText, getType, getTypeClass, isDynamic, transformExpression, visit`
    `class Expression` | `getType, setType, transformExpression, transformExpressions, transformExpressions`
    `class AnnotatedNode` | `addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic`
    `class ASTNode` | `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit`

- - ### Constructor Detail

    - #### public MethodReferenceExpression(Expression expression, Expression methodName)

  - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public String getText()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public Expression transformExpression(ExpressionTransformer transformer)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visit(GroovyCodeVisitor visitor)