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

public Interface ExpressionStatementTree

extends StatementTree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCExpressionStatement

A tree node for an expression statement. For example:
  expression ;
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
14.8 Expression Statements

Method Summary

Modifier and TypeMethod and Description
public ExpressionTree

Returns:

the expression
getExpression
()

Returns the expression constituting this statement.

Method Detail

getExpressionback to summary
public ExpressionTree getExpression()

Returns the expression constituting this statement.

Returns:ExpressionTree

the expression