Package org.objectweb.asm.commons
Interface TableSwitchGenerator
-
public interface TableSwitchGeneratorA code generator for switch statements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidgenerateCase(int key, org.objectweb.asm.Label end)Generates the code for a switch case.voidgenerateDefault()Generates the code for the default switch case.
-
-
-
Method Detail
-
generateCase
void generateCase(int key, org.objectweb.asm.Label end)Generates the code for a switch case.- Parameters:
key- the switch case key.end- a label that corresponds to the end of the switch statement.
-
generateDefault
void generateDefault()
Generates the code for the default switch case.
-
-