jde.debugger.spec
Class LineBreakpointSpec

java.lang.Object
  |
  +--jde.debugger.spec.EventRequestSpec
        |
        +--jde.debugger.spec.BreakpointSpec
              |
              +--jde.debugger.spec.LineBreakpointSpec

public class LineBreakpointSpec
extends BreakpointSpec

LineBreakpointSpec.java

Created: Thu Jul 15 13:00:34 1999

Since:
0.1

Field Summary
private  int lineNumber
           
 
Fields inherited from class jde.debugger.spec.EventRequestSpec
app, classExFilters, classFilters, expr, expressionKey, isResolved, myID, refSpec, request, specPropertyKey, suspendPolicy, thread, threadKey
 
Constructor Summary
LineBreakpointSpec(Application app, ReferenceTypeSpec refSpec, int line)
           
 
Method Summary
 int getLineNumber()
           
private  com.sun.jdi.Location getLocation(com.sun.jdi.ClassType clazz)
           
(package private)  boolean resolve(com.sun.jdi.ReferenceType refType)
          This function is called to resolve an EventRequestSpec when the ReferenceType is known to match
 
Methods inherited from class jde.debugger.spec.BreakpointSpec
setRequest
 
Methods inherited from class jde.debugger.spec.EventRequestSpec
attemptImmediateResolve, attemptResolve, getEventRequest, getID, installClassExFilters, installClassFilters, isJavaIdentifier, isResolved, setClassExFilters, setClassFilters, setExpression, setIsResolved, setRequest, setSuspendPolicy, setThread
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

lineNumber

private int lineNumber
Constructor Detail

LineBreakpointSpec

public LineBreakpointSpec(Application app,
                          ReferenceTypeSpec refSpec,
                          int line)
Method Detail

resolve

boolean resolve(com.sun.jdi.ReferenceType refType)
          throws JDEException
Description copied from class: EventRequestSpec
This function is called to resolve an EventRequestSpec when the ReferenceType is known to match

if any errors occur at any time during resolution of the event- requestspec, it's entry in the EventRequestSpecList is removed, and jde informed about it (through Application.removeSpecAndInformJDE(jde.debugger.spec.EventRequestSpec, java.lang.String)

Overrides:
resolve in class EventRequestSpec
Tags copied from class: EventRequestSpec
Returns:
true if the resolution was successful

getLocation

private com.sun.jdi.Location getLocation(com.sun.jdi.ClassType clazz)
                                  throws JDEException

getLineNumber

public int getLineNumber()