public final class SwitchEntryStmt extends Statement implements NodeWithStatements<SwitchEntryStmt>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
SwitchEntryStmt() |
SwitchEntryStmt(Expression label,
List<Statement> stmts) |
SwitchEntryStmt(Range range,
Expression label,
List<Statement> stmts) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Expression |
getLabel() |
List<Statement> |
getStmts() |
SwitchEntryStmt |
setLabel(Expression label) |
SwitchEntryStmt |
setStmts(List<Statement> stmts) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
addStatement, addStatement, addStatement, addStatement, addStatement
public SwitchEntryStmt()
public SwitchEntryStmt(Expression label, List<Statement> stmts)
public SwitchEntryStmt(Range range, Expression label, List<Statement> stmts)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getLabel()
public List<Statement> getStmts()
getStmts
in interface NodeWithStatements<SwitchEntryStmt>
public SwitchEntryStmt setLabel(Expression label)
public SwitchEntryStmt setStmts(List<Statement> stmts)
setStmts
in interface NodeWithStatements<SwitchEntryStmt>
Copyright © 2007–2016. All rights reserved.