TableSwitchInsnNodepublic class TableSwitchInsnNode extends AbstractInsnNode A node that represents a TABLESWITCH instruction. |
Fields Summary |
---|
public int | minThe minimum key value. | public int | maxThe maximum key value. | public Label | dfltBeginning of the default handler block. | public final List | labelsBeginnings of the handler blocks. This list is a list of {@link Label
Label} objects. |
Constructors Summary |
---|
public TableSwitchInsnNode(int min, int max, Label dflt, Label[] labels)Constructs a new {@link TableSwitchInsnNode TableSwitchInsnNode}.
super(Constants.TABLESWITCH);
this.min = min;
this.max = max;
this.dflt = dflt;
this.labels = new ArrayList();
if (labels != null) {
this.labels.addAll(Arrays.asList(labels));
}
|
Methods Summary |
---|
public void | accept(oracle.toplink.libraries.asm.CodeVisitor cv)
Label[] labels = new Label[this.labels.size()];
this.labels.toArray(labels);
cv.visitTableSwitchInsn(min, max, dflt, labels);
|
|