- All Superinterfaces:
- ExpressionTree,- Tree
public interface MemberReferenceTree extends ExpressionTree
A tree node for a member reference expression.
 For example:
 
expression # [ identifier | new ]
- Since:
- 1.8
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classMemberReferenceTree.ReferenceModeThere are two kinds of member references: (i) method references and (ii) constructor references
- 
Method SummaryModifier and Type Method Description MemberReferenceTree.ReferenceModegetMode()Returns the mode of the reference.NamegetName()Returns the name of the reference.ExpressionTreegetQualifierExpression()Returns the qualifier expression for the reference.List<? extends ExpressionTree>getTypeArguments()Returns the type arguments for the reference.
- 
Method Details- 
getModeMemberReferenceTree.ReferenceMode getMode()Returns the mode of the reference.- Returns:
- the mode
 
- 
getQualifierExpressionExpressionTree getQualifierExpression()Returns the qualifier expression for the reference.- Returns:
- the qualifier expression
 
- 
getNameName getName()Returns the name of the reference.- Returns:
- the name
 
- 
getTypeArgumentsList<? extends ExpressionTree> getTypeArguments()Returns the type arguments for the reference.- Returns:
- the type arguments
 
 
-