org.inxar.jenesis
Interface ExpressionStatement

All Superinterfaces:
Codeable, Statement

public interface ExpressionStatement
extends Statement

Statement subinterface for a general container of expressions such as assignments, method invocations, field acesses, etc...


Method Summary
 Expression getExpression()
          Gets the Expression for this Statement.
 void setExpression(Expression e)
          Sets the Expression for this Statement.
 
Methods inherited from interface org.inxar.jenesis.Statement
comment, getLabel, setLabel
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 

Method Detail

setExpression

public void setExpression(Expression e)
Sets the Expression for this Statement. Note that not all expressions are suitable for standalone statements. See the java lang spec for details.

getExpression

public Expression getExpression()
Gets the Expression for this Statement.