org.ow2.asmdex.instruction
Class DebugInstructionAdvanceLine

java.lang.Object
  extended by org.ow2.asmdex.instruction.DebugInstruction
      extended by org.ow2.asmdex.instruction.DebugInstructionAdvanceLine
All Implemented Interfaces:
IDebugDifferenceLineInstruction

public class DebugInstructionAdvanceLine
extends DebugInstruction
implements IDebugDifferenceLineInstruction

Class representing a Debug Instruction Advance Line.

Author:
Julien Névo

Field Summary
protected  int differenceLine
          The difference in line between the current and next line.
 
Constructor Summary
DebugInstructionAdvanceLine(int difference)
          Constructor of the Debug Instruction.
 
Method Summary
 int getDifferenceLine()
          Returns the difference stored between the current line and the new one.
 int getOpcode()
          Returns the opcode of the Debug Instruction.
 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
 

Field Detail

differenceLine

protected int differenceLine
The difference in line between the current and next line.

Constructor Detail

DebugInstructionAdvanceLine

public DebugInstructionAdvanceLine(int difference)
Constructor of the Debug Instruction.

Parameters:
difference - difference in line between the current and next line.
Method Detail

getDifferenceLine

public int getDifferenceLine()
Description copied from interface: IDebugDifferenceLineInstruction
Returns the difference stored between the current line and the new one.

Specified by:
getDifferenceLine in interface IDebugDifferenceLineInstruction
Returns:
the difference stored between the current line and the new one.

getOpcode

public int getOpcode()
Description copied from class: DebugInstruction
Returns the opcode of the Debug Instruction.

Specified by:
getOpcode in class DebugInstruction
Returns:
the opcode of the Debug Instruction.

write

public void write(ByteVector out,
                  ConstantPool constantPool)
Description copied from class: DebugInstruction
Encodes the Debug Instruction in the Dalvik format, to an output buffer.

Specified by:
write in class DebugInstruction
Parameters:
out - output buffer.
constantPool - the Constant Pool.