APIdia Launch Partner
Top Description Methods
com.sun.source.tree

public Interface MemberSelectTree

extends ExpressionTree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCFieldAccess
Imports
javax.lang.model.element.Name

A tree node for a member access expression. For example:
  expression . identifier
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
6.5 Determining the Meaning of a Name, 15.11 Field Access Expressions, 15.12 Method Invocation Expressions

Method Summary

Modifier and TypeMethod and Description
public ExpressionTree

Returns:

the expression
getExpression
()

Returns the expression for which a member is to be selected.

public Name

Returns:

the member
getIdentifier
()

Returns the name of the member to be selected.

Method Detail

getExpressionback to summary
public ExpressionTree getExpression()

Returns the expression for which a member is to be selected.

Returns:ExpressionTree

the expression

getIdentifierback to summary
public Name getIdentifier()

Returns the name of the member to be selected.

Returns:Name

the member