org.ow2.asmdex.structureReader
Interface ISwitchCase

All Known Implementing Classes:
PackedSwitch, SparseSwitch

public interface ISwitchCase

Interface of a Switch/Case structure.

Author:
Julien Névo

Method Summary
 Label getDefaultLabel()
          Returns the Default Label for this Switch.
 Label[] getSwitchLabels()
          Returns the Labels of each Case for this Switch.
 void setDefaultLabel(Label defaultLabel)
          Sets the Default Label for this Switch.
 void setSwitchLabels(Label[] switchLabels)
          Sets the Labels of each Case for this Switch.
 

Method Detail

getSwitchLabels

Label[] getSwitchLabels()
Returns the Labels of each Case for this Switch.

Returns:
the Labels of each Case for this Switch.

setSwitchLabels

void setSwitchLabels(Label[] switchLabels)
Sets the Labels of each Case for this Switch.

Parameters:
switchLabels - the Labels to set of each Case of this Switch.

getDefaultLabel

Label getDefaultLabel()
Returns the Default Label for this Switch.

Returns:
the Default Label for this Switch.

setDefaultLabel

void setDefaultLabel(Label defaultLabel)
Sets the Default Label for this Switch.

Parameters:
defaultLabel - the Default Label to set for this Switch.