net.sf.transjvm
Class Label

java.lang.Object
  extended by net.sf.transjvm.Statement
      extended by net.sf.transjvm.Label

public class Label
extends Statement

A label performs no action, but serves as a target for jumps and branches.


Field Summary
 
Fields inherited from class net.sf.transjvm.Statement
RETURN_VOID, SKIP
 
Constructor Summary
Label()
          Constructs a new Label
 
Method Summary
 void intOffset(InstructionStream stream, int base)
           
 void write(InstructionStream stream)
          Writes this Statement to the stream
 
Methods inherited from class net.sf.transjvm.Statement
_goto, _if, _if, _return, _switch, _switch, _throw, always, callSuper, concat, defaultCallSuper, delegate, guarded, line, list, list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()
Constructs a new Label

Method Detail

write

public void write(InstructionStream stream)
Description copied from class: Statement
Writes this Statement to the stream

Specified by:
write in class Statement
Parameters:
stream - The InstructionStream to write to.

intOffset

public void intOffset(InstructionStream stream,
                      int base)


Copyright 2004-5, Mark Shannon