- All Superinterfaces:
ExpressionTree
,Tree
A tree node for a member reference expression.
For example:
expression # [ identifier | new ]
- Since:
- 1.8
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
There are two kinds of member references: (i) method references and (ii) constructor references -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
Returns the mode of the reference.getName()
Returns the name of the reference.Returns the qualifier expression for the reference.List
<? extends ExpressionTree> Returns the type arguments for the reference.
-
Method Details
-
getMode
-
getQualifierExpression
ExpressionTree getQualifierExpression()Returns the qualifier expression for the reference.- Returns:
- the qualifier expression
-
getName
-
getTypeArguments
List<? extends ExpressionTree> getTypeArguments()Returns the type arguments for the reference.- Returns:
- the type arguments
-