public class SwitchStatement extends Object implements FlowControl
| Modifier and Type | Class and Description |
|---|---|
static class |
SwitchStatement.SwitchBuilder |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(BytecodeNode parent,
BytecodeVisitor<T> visitor) |
void |
accept(org.objectweb.asm.MethodVisitor visitor,
MethodGenerationContext generationContext) |
SortedSet<CaseStatement> |
cases() |
BytecodeExpression |
expression() |
List<BytecodeNode> |
getChildNodes() |
String |
getComment() |
BytecodeNode |
getDefaultBody() |
LabelNode |
getDefaultLabel() |
LabelNode |
getEndLabel() |
static SwitchStatement.SwitchBuilder |
switchBuilder() |
public static SwitchStatement.SwitchBuilder switchBuilder()
public String getComment()
getComment in interface FlowControlpublic BytecodeExpression expression()
public SortedSet<CaseStatement> cases()
public LabelNode getDefaultLabel()
public BytecodeNode getDefaultBody()
public LabelNode getEndLabel()
public void accept(org.objectweb.asm.MethodVisitor visitor,
MethodGenerationContext generationContext)
accept in interface BytecodeNodepublic List<BytecodeNode> getChildNodes()
getChildNodes in interface BytecodeNodepublic <T> T accept(BytecodeNode parent, BytecodeVisitor<T> visitor)
accept in interface BytecodeNodeCopyright © 2012–2023. All rights reserved.