Top Constructors Methods
org.apache.commons.compress.harmony.unpack200.bytecode.forms

public Class TableSwitchForm

extends SwitchForm
Class Inheritance
Imports
java.util.Arrays, org.apache.commons.compress.harmony.unpack200.bytecode.ByteCode, .OperandManager

Constructor Summary

AccessConstructor and Description
public
TableSwitchForm(final int opcode, final String name)

Method Summary

Modifier and TypeMethod and Description
public void
setByteCodeOperands(final ByteCode
ByteCode to be updated (!)
byteCode
,
final OperandManager
OperandTable from which to draw info
operandManager
,
final int
Length of bytes (excluding this bytecode) from the beginning of the method. Used in calculating padding for some variable-length bytecodes (such as lookupswitch, tableswitch).
codeLength
)

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm.setByteCodeOperands.

When passed a byteCode, an OperandTable and a SegmentConstantPool, this method will set the rewrite of the byteCode appropriately.
Inherited from org.apache.commons.compress.harmony.unpack200.bytecode.forms.SwitchForm:
fixUpByteCodeTargets

Constructor Detail

TableSwitchFormback to summary
public TableSwitchForm(final int opcode, final String name)

Method Detail

setByteCodeOperandsback to summary
public void setByteCodeOperands(final ByteCode byteCode, final OperandManager operandManager, final int codeLength)

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm.setByteCodeOperands.

Doc from org.apache.commons.compress.harmony.unpack200.bytecode.forms.ByteCodeForm.setByteCodeOperands.

When passed a byteCode, an OperandTable and a SegmentConstantPool, this method will set the rewrite of the byteCode appropriately.

Parameters
byteCode:ByteCode

ByteCode to be updated (!)

operandManager:OperandManager

OperandTable from which to draw info

codeLength:int

Length of bytes (excluding this bytecode) from the beginning of the method. Used in calculating padding for some variable-length bytecodes (such as lookupswitch, tableswitch).

Annotations
@Override