org.apache.bcel.generic
public final class SWITCH extends Object implements CompoundInstruction
Version: $Id: SWITCH.java 152690 2001-10-29 19:59:54Z jvanzyl $
| Constructor Summary | |
|---|---|
| SWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target, int max_gap)
Template for switch() constructs. | |
| SWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target) | |
| Method Summary | |
|---|---|
| Instruction | getInstruction() |
| InstructionList | getInstructionList() |
Parameters: match array of match values (case 2: ... case 7: ..., etc.) targets the instructions to be branched to for each case target the default target max_gap maximum gap that may between case branches