| edu.rice.cs.drjava.model.debug.jpda.DocumentDebugAction
DocumentDebugAction | abstract public class DocumentDebugAction extends DebugAction (Code) | | Superclasses all DebugActions that are associated with specific OpenDefinitionsDocuments.
version: $Id: DocumentDebugAction.java 4255 2007-08-28 19:17:37Z mgricken $ |
Method Summary | |
abstract protected void | _createRequests(Vector<ReferenceType> refTypes) Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field.
Parameters: refTypes - All (identical) ReferenceTypes to which this action applies. | protected void | _initializeRequests(Vector<ReferenceType> refTypes) This should always be called from the constructor of the subclass. | protected void | _prepareRequest(T request) Prepares this EventRequest with the current stored values. | public boolean | createRequests(Vector<ReferenceType> refTypes) Creates EventRequests corresponding to this DebugAction, using the given ReferenceTypes. | public String | getClassName() Returns the class name this DebugAction occurs in. | public OpenDefinitionsDocument | getDocument() Returns the document this DebugAction occurs in. | public String | getExactClassName() exact class name, or null if not available. | public File | getFile() Returns the file this DebugAction occurs in. | public int | getOffset() offset of this debug action. |
SHORT_DOC_MAX_LENGTH | final public int SHORT_DOC_MAX_LENGTH(Code) | | |
_exactClassName | protected volatile String _exactClassName(Code) | | |
_offset | protected int _offset(Code) | | |
DocumentDebugAction | public DocumentDebugAction(JPDADebugger manager, OpenDefinitionsDocument doc, int offset) throws DebugException(Code) | | Creates a new DocumentDebugAction. Automatically tries to create the EventRequest if a ReferenceType can be
found, or else adds this object to the PendingRequestManager. Any subclass should automatically call
_initializeRequest in its constructor.
Parameters: manager - JPDADebugger in charge Parameters: doc - Document this action corresponds to Parameters: offset - Offset into the document that the action affects |
_createRequests | abstract protected void _createRequests(Vector<ReferenceType> refTypes) throws DebugException(Code) | | Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field.
Parameters: refTypes - All (identical) ReferenceTypes to which this action applies. (There may be multiple if a customclass loader is in use.) throws: DebugException - if the requests could not be created. |
_initializeRequests | protected void _initializeRequests(Vector<ReferenceType> refTypes) throws DebugException(Code) | | This should always be called from the constructor of the subclass. Attempts to create EventRequests on the
given ReferenceTypes, and also adds this action to the pending request manager (so identical classes loaded
in the future will also have this action).
|
_prepareRequest | protected void _prepareRequest(T request)(Code) | | Prepares this EventRequest with the current stored values.
Parameters: request - the EventRequest to prepare |
createRequests | public boolean createRequests(Vector<ReferenceType> refTypes) throws DebugException(Code) | | Creates EventRequests corresponding to this DebugAction, using the given ReferenceTypes. This is called either
from the DebugAction constructor or the PendingRequestManager, depending on when the ReferenceTypes become
available. (There may be multiple reference types for the same class if a custom class loader is used.)
true if the EventRequest is successfully created |
getClassName | public String getClassName()(Code) | | Returns the class name this DebugAction occurs in.
|
getExactClassName | public String getExactClassName()(Code) | | exact class name, or null if not available. |
getFile | public File getFile()(Code) | | Returns the file this DebugAction occurs in.
|
getOffset | public int getOffset()(Code) | | offset of this debug action. |
|
|