org.inxar.jenesis
Interface If
- All Superinterfaces:
- Block, Codeable, ConditionalStatement, Statement
- public interface If
- extends ConditionalStatement
Statement
subinterface for the if, else if,
else
construct.
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 |
getElseIfs
public Iterator getElseIfs()
- Gets the list of else if's as an iterator of
ElseIf
.
newElseIf
public ElseIf newElseIf(Expression predicate)
- Adds a new
ElseIf
to the list of else-if's.
getElse
public Else getElse()
- Gets the optional
Else
clause.