Class MethodReference

java.lang.Object
Direct Known Subclasses:
CreationReference, ExpressionMethodReference, SuperMethodReference, TypeMethodReference

public abstract class MethodReference extends Expression
Abstract base class of all AST node types that represent a method reference expression (added in JLS8 API).
 MethodReference:
    CreationReference
    ExpressionMethodReference
    SuperMethodReference
    TypeMethodReference
 

A method reference that is represented by a simple or qualified name, followed by ::, followed by a simple name can be represented as ExpressionMethodReference or as TypeMethodReference. The ASTParser currently prefers the first form.

Since:
3.10
See Also: