SourceInstructionPoint Class

com.bea.ide.sourceeditor.driver
SourceInstructionPoint Class

public class SourceInstructionPoint

    extends Object
    implements IDebugInstructionPoint

Implements the IDebugInstructionPoint interface for text files.


Hierarchy
Object
  SourceInstructionPoint
All Implemented Interfaces

IDebugInstructionPoint

Constructor Summary

SourceInstructionPoint(IDocument file, int line, int type)

Creates a new SourceInstructionPoint for a particular location in a document.
 

Method Summary

public IDocument
getFile()
gets the file for this instruction point.
public int
getLine()
gets the line number for this instruction point.
public int
getType()
gets the type for this instruction point.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.ide.debug.IDebugInstructionPoint
getFile, getLine, getType
 

Constructor Detail

SourceInstructionPoint

public SourceInstructionPoint(IDocument file, 
                              int line, 
                              int type)
Creates a new SourceInstructionPoint for a particular location in a document.
 

Method Detail

getFile() Method

public IDocument getFile()
Description copied from IDebugInstructionPoint.getFile()
gets the file for this instruction point.

Returns

the IDocument that represents the file that contains this instruction point.

getLine() Method

public int getLine()
Description copied from IDebugInstructionPoint.getLine()
gets the line number for this instruction point.

Returns

the line the instruction point is on.

getType() Method

public int getType()
Description copied from IDebugInstructionPoint.getType()
gets the type for this instruction point.

Returns

IDebugInstructionPoint.INSTRUCTION_POINT - if this is the current execution point IDebugInstructionPoint.STACK_FRAME_POINT - if this is the execution point for one of the callee stack frames.