com.techtrader.modules.tools.bytecode
Class  RetInstruction
java.lang.Object
  |
  +--com.techtrader.modules.tools.bytecode.Instruction
        |
        +--com.techtrader.modules.tools.bytecode.LocalVariableInstruction
              |
              +--com.techtrader.modules.tools.bytecode.RetInstruction
- public class RetInstruction
- extends LocalVariableInstruction
  
Represents the RET instruction used in the implementation of finally.
- Author: 
 - Abe White
 
 
 
 
| 
Method Summary | 
 void | 
acceptVisit(BCVisitor visit)
 
          Accept a visit from a BCVisitor, calling the appropriate methods
	to notify the visitor that it has entered this entity, and
	to provide it with the proper callbacks for each sub-entity owned
	by this object. | 
 boolean | 
equals(Object other)
 
          Two local variable instructions are equal if the local index they
	reference is equal or if either index is 0/unset. | 
 int | 
getLength()
 
          Return the length in bytes of this opcode, including all arguments. | 
protected  void | 
readData(DataInput in)
 
          Read the arguments for this opcode from the given stream. | 
protected  void | 
writeData(DataOutput out)
 
          Write the arguments for this opcode to the given stream. | 
 
 
 
 
RetInstruction
protected RetInstruction(Code owner)
equals
public boolean equals(Object other)
- Description copied from class: LocalVariableInstruction
 
- Two local variable instructions are equal if the local index they
	reference is equal or if either index is 0/unset.
- Overrides:
 - equals in class LocalVariableInstruction
 
 
 
getLength
public int getLength()
- Description copied from class: Instruction
 
- Return the length in bytes of this opcode, including all arguments.  
	This method	should be overridden by opcodes that take arguments.
- Overrides:
 - getLength in class Instruction
 
 
 
readData
protected void readData(DataInput in)
                 throws IOException
- Description copied from class: Instruction
 
- Read the arguments for this opcode from the given stream. 
	This method should be overridden by opcodes that take arguments.
- Overrides:
 - readData in class Instruction
 
 
 
writeData
protected void writeData(DataOutput out)
                  throws IOException
- Description copied from class: Instruction
 
- Write the arguments for this opcode to the given stream. 
	This method should be overridden by opcodes that take arguments.
- Overrides:
 - writeData in class Instruction
 
 
 
acceptVisit
public void acceptVisit(BCVisitor visit)
- Description copied from interface: VisitAcceptor
 
- Accept a visit from a BCVisitor, calling the appropriate methods
	to notify the visitor that it has entered this entity, and
	to provide it with the proper callbacks for each sub-entity owned
	by this object.
- Overrides:
 - acceptVisit in class Instruction