Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DE.fub.inf.JVM.ClassGen.SWITCH
Constructor Summary | |
SWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target)
Template for switch() constructs, if the match array can be sorted in ascending order with no gaps between the numbers a TABLESWITCH instruction is generated, a LOOKUPSWITCH otherwise. |
Method Summary | |
InstructionList | getInstructionList()
|
Instruction | getInstruction()
|
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public SWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target)
match
- array of match values (case 2: ... case 7: ..., etc.)
targets
- the instructions to be performed for each case
target
- the default targetMethod Detail |
public final InstructionList getInstructionList()
public final Instruction getInstruction()
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |