Top Description Methods
org.eclipse.persistence.internal.libraries.asm.commons

public Interface TableSwitchGenerator

Imports
org.eclipse.persistence.internal.libraries.asm.Label

A code generator for switch statements.
Authors
Juozas Baliuka, Chris Nokleberg, Eric Bruneton

Method Summary

Modifier and TypeMethod and Description
public void
generateCase(int
the switch case key.
key
,
Label
a label that corresponds to the end of the switch statement.
end
)

Generates the code for a switch case.

public void
generateDefault()

Generates the code for the default switch case.

Method Detail

generateCaseback to summary
public void generateCase(int key, Label end)

Generates the code for a switch case.

Parameters
key:int

the switch case key.

end:Label

a label that corresponds to the end of the switch statement.

generateDefaultback to summary
public void generateDefault()

Generates the code for the default switch case.