org.inxar.jenesis
Interface Return

All Superinterfaces:
Codeable, Statement

public interface Return
extends Statement

Statement subinterface for the return keyword. Depending on the context of the method, a return statement can return with the assigned expression.


Method Summary
 Expression getExpression()
          Gets the expression for this return statement.
 void setExpression(Expression expr)
          Sets the expression for this return 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 expr)
Sets the expression for this return statement.

getExpression

public Expression getExpression()
Gets the expression for this return statement.