org.inxar.jenesis
Interface Case

All Superinterfaces:
Block, Codeable, Statement

public interface Case
extends Statement, Block

Statement subinterface for the case construct in a switch.


Method Summary
 Expression getConstant()
          Gets the constant expression for this condition.
 void setConstant(Expression expr)
          Sets the constant expression for this condition.
 
Methods inherited from interface org.inxar.jenesis.Statement
comment, getLabel, setLabel
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 
Methods inherited from interface org.inxar.jenesis.Block
getStatements, newBreak, newContinue, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile
 

Method Detail

setConstant

public void setConstant(Expression expr)
Sets the constant expression for this condition.

getConstant

public Expression getConstant()
Gets the constant expression for this condition.