public interface Switch extends ConditionalStatement
Statement
subinterface for the switch
construct.Modifier and Type | Method and Description |
---|---|
List<Case> |
getCases()
Gets the set of cases as an list of
Case . |
Default |
getDefault()
Gets the default case.
|
Case |
newCase(Expression constant)
Adds a new
Case to the set of cases. |
getPredicate, setPredicate
comment, getLabel, isAbruptCompletionStatement, setLabel
getStatements, insertStatement, insertStatement, newBreak, newContinue, newDeclarationLet, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile, removeStmt
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
Default getDefault()
Case newCase(Expression constant)
Case
to the set of cases.Copyright © 2000–2018 jenesis4java. All rights reserved.