org.eclipse.cdt.debug.internal.core.model
Class AsmInstruction

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.core.model.AsmInstruction
All Implemented Interfaces:
IAsmInstruction

public class AsmInstruction
extends java.lang.Object
implements IAsmInstruction

Adapter for ICDIInstruction.


Constructor Summary
AsmInstruction(IAddressFactory factory, org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction cdiInstruction)
          Constructor for AsmInstruction.
 
Method Summary
 IAddress getAdress()
          Returns the address of this instruction.
 java.lang.String getArguments()
          Returns the arguments to the opcode.
 java.lang.String getFunctionName()
          Returns the function name of this instruction, or empty string if function is not available.
 java.lang.String getInstructionText()
          Returns the instruction's text.
 long getOffset()
          Returns the offset of this machine instruction.
 java.lang.String getOpcode()
          Returns the opcode of this instruction.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsmInstruction

public AsmInstruction(IAddressFactory factory,
                      org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction cdiInstruction)
Constructor for AsmInstruction.

Method Detail

getAdress

public IAddress getAdress()
Description copied from interface: IAsmInstruction
Returns the address of this instruction.

Specified by:
getAdress in interface IAsmInstruction
Returns:
the address of this instruction

getFunctionName

public java.lang.String getFunctionName()
Description copied from interface: IAsmInstruction
Returns the function name of this instruction, or empty string if function is not available.

Specified by:
getFunctionName in interface IAsmInstruction
Returns:
the function name of this instruction

getInstructionText

public java.lang.String getInstructionText()
Description copied from interface: IAsmInstruction
Returns the instruction's text.

Specified by:
getInstructionText in interface IAsmInstruction
Returns:
the instruction's text.

getOpcode

public java.lang.String getOpcode()
Description copied from interface: IAsmInstruction
Returns the opcode of this instruction.

Specified by:
getOpcode in interface IAsmInstruction
Returns:
the opcode of this instruction

getArguments

public java.lang.String getArguments()
Description copied from interface: IAsmInstruction
Returns the arguments to the opcode.

Specified by:
getArguments in interface IAsmInstruction
Returns:
the arguments to the opcode

getOffset

public long getOffset()
Description copied from interface: IAsmInstruction
Returns the offset of this machine instruction.

Specified by:
getOffset in interface IAsmInstruction
Returns:
the offset of this machine instruction