Package com.strobel.decompiler.ast
Class Switch
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Switch
-
public final class Switch extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CaseBlock>
_caseBlocks
private Expression
_condition
-
Constructor Summary
Constructors Constructor Description Switch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CaseBlock>
getCaseBlocks()
java.util.List<Node>
getChildren()
Expression
getCondition()
void
setCondition(Expression condition)
void
writeTo(ITextOutput output)
-
Methods inherited from class com.strobel.decompiler.ast.Node
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toString
-
-
-
-
Field Detail
-
_caseBlocks
private final java.util.List<CaseBlock> _caseBlocks
-
_condition
private Expression _condition
-
-
Method Detail
-
getCondition
public final Expression getCondition()
-
setCondition
public final void setCondition(Expression condition)
-
getCaseBlocks
public final java.util.List<CaseBlock> getCaseBlocks()
-
getChildren
public final java.util.List<Node> getChildren()
- Overrides:
getChildren
in classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-