com.bluemarsh.jswat.panel
Class WatchPanel.WatchpointListEntry

java.lang.Object
  |
  +--com.bluemarsh.jswat.panel.WatchPanel.WatchpointListEntry
Enclosing class:
WatchPanel

protected class WatchPanel.WatchpointListEntry
extends java.lang.Object

Class WatchpointListEntry represents any type of watchpoint the user has specified. This includes field variables of any object as well as any local variable.


Field Summary
 com.sun.jdi.LocalVariable watchLocal
          Local variable, if not a field variable.
 java.lang.String watchName
          Name entered by the user to specify the watchpoint.
 com.sun.jdi.ObjectReference watchObject
          Object reference, if a field variable.
 com.sun.jdi.request.WatchpointRequest watchRequest
          WatchpointRequest, if resolved.
 
Constructor Summary
WatchPanel.WatchpointListEntry(java.lang.String name)
          Constructs a WatchpointListEntry object.
 
Method Summary
 boolean isFieldVar()
          Indicates if this watchpoint entry is a field variable or not.
 boolean isLocalVar()
          Indicates if this watchpoint entry is a local variable or not.
 boolean isResolved()
          Indicates if this watchpoint entry has been resolved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

watchName

public java.lang.String watchName
Name entered by the user to specify the watchpoint.

watchRequest

public com.sun.jdi.request.WatchpointRequest watchRequest
WatchpointRequest, if resolved.

watchObject

public com.sun.jdi.ObjectReference watchObject
Object reference, if a field variable.

watchLocal

public com.sun.jdi.LocalVariable watchLocal
Local variable, if not a field variable.
Constructor Detail

WatchPanel.WatchpointListEntry

public WatchPanel.WatchpointListEntry(java.lang.String name)
Constructs a WatchpointListEntry object.
Parameters:
name - Name of variable to watch.
Method Detail

isFieldVar

public boolean isFieldVar()
Indicates if this watchpoint entry is a field variable or not.
Returns:
true if this entry is a field variable.

isLocalVar

public boolean isLocalVar()
Indicates if this watchpoint entry is a local variable or not.
Returns:
true if this entry is a local variable.

isResolved

public boolean isResolved()
Indicates if this watchpoint entry has been resolved.
Returns:
true if this entry has been resolved.