org.ow2.asmdex.instruction
Class DebugInstruction

java.lang.Object
  extended by org.ow2.asmdex.instruction.DebugInstruction
Direct Known Subclasses:
DebugInstructionAdvanceLine, DebugInstructionAdvancePC, DebugInstructionEndLocal, DebugInstructionEndSequence, DebugInstructionRestartLocal, DebugInstructionSetEpilogueBegin, DebugInstructionSetFile, DebugInstructionSetPrologueEnd, DebugInstructionSpecialOpcode, DebugInstructionStartLocal, DebugInstructionStartLocalExtended

public abstract class DebugInstruction
extends java.lang.Object

Class representing a Debug Instruction, as used in the debug_info_item structure.

Author:
Julien Névo

Constructor Summary
DebugInstruction()
           
 
Method Summary
abstract  int getOpcode()
          Returns the opcode of the Debug Instruction.
abstract  void write(ByteVector out, ConstantPool constantPool)
          Encodes the Debug Instruction in the Dalvik format, to an output buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugInstruction

public DebugInstruction()
Method Detail

getOpcode

public abstract int getOpcode()
Returns the opcode of the Debug Instruction.

Returns:
the opcode of the Debug Instruction.

write

public abstract void write(ByteVector out,
                           ConstantPool constantPool)
Encodes the Debug Instruction in the Dalvik format, to an output buffer.

Parameters:
out - output buffer.
constantPool - the Constant Pool.