Home » openjdk-7 » com.sun.source » tree » [javadoc | source]
com.sun.source.tree
public interface: IfTree [javadoc | source]

All Implemented Interfaces:
    StatementTree

All Known Implementing Classes:
    JCIf

A tree node for an 'if' statement. For example:
  if ( condition )
     thenStatement

  if ( condition )
      thenStatement
  else
      elseStatement
Method from com.sun.source.tree.IfTree Summary:
getCondition,   getElseStatement,   getThenStatement
Method from com.sun.source.tree.IfTree Detail:
 public ExpressionTree getCondition()
 public StatementTree getElseStatement()
 public StatementTree getThenStatement()