public final class SwitchStatement extends StatementBase
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.
|
CaseBranch |
addCase(int value) |
Map<Integer,CaseBranch> |
cases() |
BlockStatement |
defaultCase() |
ExpressionInternal |
expr() |
copy, copy, getAncestor, id, parent, parent, postCopy, preCopy, toString
attributes, get, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, copy, getAncestor, id, parent, parent
attributes, get, set
public Map<Integer,CaseBranch> cases()
public BlockStatement defaultCase()
public ExpressionInternal expr()
public CaseBranch addCase(int value)
Copyright © 2017 Oracle. All rights reserved.