Interface SwitchNode
-
- All Known Implementing Classes:
SwitchExpr
,SwitchStmt
public interface SwitchNode
The common interface ofSwitchExpr
andSwitchStmt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SwitchNode
clone()
Optional<Comment>
getComment()
NodeList<SwitchEntryStmt>
getEntries()
SwitchEntryStmt
getEntry(int i)
Expression
getSelector()
boolean
remove(Node node)
boolean
replace(Node node, Node replacementNode)
SwitchNode
setEntries(NodeList<SwitchEntryStmt> entries)
SwitchNode
setSelector(Expression selector)
-
-
-
Method Detail
-
getEntries
NodeList<SwitchEntryStmt> getEntries()
-
getEntry
SwitchEntryStmt getEntry(int i)
-
getSelector
Expression getSelector()
-
setEntries
SwitchNode setEntries(NodeList<SwitchEntryStmt> entries)
-
setSelector
SwitchNode setSelector(Expression selector)
-
remove
boolean remove(Node node)
-
clone
SwitchNode clone()
-
-