org.ow2.asmdex.instruction
Class DebugInstructionSetFile

java.lang.Object
  extended by org.ow2.asmdex.instruction.DebugInstruction
      extended by org.ow2.asmdex.instruction.DebugInstructionSetFile
All Implemented Interfaces:
IDebugSourceNameInstruction

public class DebugInstructionSetFile
extends DebugInstruction
implements IDebugSourceNameInstruction

Class representing a Debug Instruction Set File.

Author:
Julien Névo

Field Summary
protected  java.lang.String sourceName
          The name of the source file.
 
Constructor Summary
DebugInstructionSetFile(java.lang.String sourceName)
          Constructor of the Debug Instruction.
 
Method Summary
 int getOpcode()
          Returns the opcode of the Debug Instruction.
 java.lang.String getSourceName()
          The name of the source file.
 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

sourceName

protected java.lang.String sourceName
The name of the source file.

Constructor Detail

DebugInstructionSetFile

public DebugInstructionSetFile(java.lang.String sourceName)
Constructor of the Debug Instruction.

Parameters:
sourceName - name of the source file.
Method Detail

getSourceName

public java.lang.String getSourceName()
Description copied from interface: IDebugSourceNameInstruction
The name of the source file.

Specified by:
getSourceName in interface IDebugSourceNameInstruction
Returns:
source file name

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.