org.inxar.jenesis
Interface ConditionalStatement
- All Superinterfaces:
- Block, Codeable, Statement
- All Known Subinterfaces:
- DoWhile, ElseIf, For, If, Switch, While
- public interface ConditionalStatement
- extends Statement, Block
Statement
subinterface for the conditional statements (statements
whose execution depends on the truthful evaluation of a predicate).
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 |
setPredicate
public void setPredicate(Expression expr)
- Sets the expression for this condition.
getPredicate
public Expression getPredicate()
- Gets the expression for this condition.