public interface If extends ConditionalStatement
Statement subinterface for the if, else if,
else construct.| Modifier and Type | Method and Description |
|---|---|
Else |
getElse()
Gets the optional
Else clause. |
List<ElseIf> |
getElseIfs()
Gets the list of else if's as an list of
ElseIf. |
ElseIf |
newElseIf(Expression predicate)
Adds a new
ElseIf to the list of else-if's. |
getPredicate, setPredicatecomment, getLabel, isAbruptCompletionStatement, setLabelgetStatements, insertStatement, insertStatement, newBreak, newContinue, newDeclarationLet, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile, removeStmtapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmElse getElse()
Else clause.ElseIf newElseIf(Expression predicate)
ElseIf to the list of else-if's.Copyright © 2000–2018 jenesis4java. All rights reserved.