TechTrader Bytecode Toolkit

com.techtrader.modules.tools.bytecode
Interface InstructionPtr

All Known Implementing Classes:
ExceptionHandler, JumpInstruction

public interface InstructionPtr

An InstructionPtr represents an entity that maintains ptrs to instructions in a code block.

Author:
Abe White

Method Summary
 void setMarkers(List instructions)
          Use the byte indexes read from the .class file to calculate and set references to the target instruction(s) for this ptr.
 

Method Detail

setMarkers

public void setMarkers(List instructions)
Use the byte indexes read from the .class file to calculate and set references to the target instruction(s) for this ptr. This method will be called after the byte code has been read in for the first time.
Parameters:
codes - the list of opcodes in the method

TechTrader Bytecode Toolkit