public interface PositionManager
PositionManagerFactory extension point.JSR45PositionManager| Modifier and Type | Method and Description |
|---|---|
com.sun.jdi.request.ClassPrepareRequest |
createPrepareRequest(ClassPrepareRequestor requestor,
SourcePosition position)
Called to request the JVM to notify the debugger engine when a class corresponding to a breakpoint location is loaded.
|
default java.util.Set<? extends FileType> |
getAcceptedFileTypes()
Return file types this position manager accepts
|
java.util.List<com.sun.jdi.ReferenceType> |
getAllClasses(SourcePosition classPosition)
Returns the list of all Java classes corresponding to the specified position in the source code.
|
SourcePosition |
getSourcePosition(com.sun.jdi.Location location)
Returns the source position corresponding to the specified bytecode location.
|
java.util.List<com.sun.jdi.Location> |
locationsOfLine(com.sun.jdi.ReferenceType type,
SourcePosition position)
Returns the list of bytecode locations in a specific class corresponding to the specified position in the source code.
|
SourcePosition getSourcePosition(com.sun.jdi.Location location) throws NoDataException
location - the bytecode location.NoDataException - if the location is not in the code managed by this PositionManagerjava.util.List<com.sun.jdi.ReferenceType> getAllClasses(SourcePosition classPosition) throws NoDataException
classPosition - the source position.NoDataException - if the location is not in the code managed by this PositionManagerVirtualMachineProxy.classesByName(java.lang.String)java.util.List<com.sun.jdi.Location> locationsOfLine(com.sun.jdi.ReferenceType type,
SourcePosition position)
throws NoDataException
type - a Java class (one of the list returned by getAllClasses(com.intellij.debugger.SourcePosition)).position - the position in the source code.NoDataException - if the location is not in the code managed by this PositionManagerReferenceType.locationsOfLine(int)com.sun.jdi.request.ClassPrepareRequest createPrepareRequest(ClassPrepareRequestor requestor, SourcePosition position) throws NoDataException
RequestManager.createClassPrepareRequest(com.intellij.debugger.requests.ClassPrepareRequestor, java.lang.String) to create the request.requestor - the object to receive the notification from the JVM.position - the location of a breakpoint.PositionManager but no class prepare notification is neededNoDataException - if the position is not in the code managed by this PositionManagerdefault java.util.Set<? extends FileType> getAcceptedFileTypes()