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

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

public class AsmSourceLine
extends java.lang.Object
implements IAsmSourceLine

Adapter for ICDIMixedInstruction.


Constructor Summary
AsmSourceLine(IAddressFactory factory, java.lang.String text, org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction[] cdiInstructions)
          Constructor for AsmSourceLine.
AsmSourceLine(IAddressFactory factory, java.lang.String text, int lineNumber, org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction[] cdiInstructions)
          Constructor for AsmSourceLine.
 
Method Summary
 IAsmInstruction[] getInstructions()
          Returns the array of the disassembly instructions associated with this source line.
 int getLineNumber()
          Returns the number of this line in the source file
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsmSourceLine

public AsmSourceLine(IAddressFactory factory,
                     java.lang.String text,
                     org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction[] cdiInstructions)
Constructor for AsmSourceLine.


AsmSourceLine

public AsmSourceLine(IAddressFactory factory,
                     java.lang.String text,
                     int lineNumber,
                     org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction[] cdiInstructions)
Constructor for AsmSourceLine.

Method Detail

getLineNumber

public int getLineNumber()
Description copied from interface: IAsmSourceLine
Returns the number of this line in the source file

Specified by:
getLineNumber in interface IAsmSourceLine
Returns:
the line number

getInstructions

public IAsmInstruction[] getInstructions()
Description copied from interface: IAsmSourceLine
Returns the array of the disassembly instructions associated with this source line.

Specified by:
getInstructions in interface IAsmSourceLine
Returns:
the array of the disassembly instructions associated with this source line

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object