public interface IJDIHelpers
| Modifier and Type | Field and Description |
|---|---|
static IJDIHelpers |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getClassesLocation(java.lang.Object element)
Return classes location the given element was loaded from or
null if the location cannot be determined. |
java.lang.String |
getSourcePath(java.lang.Object element)
Returns source path of the given element or
null if the source path cannot be determined. |
java.lang.Iterable<java.io.File> |
getStackFramesClassesLocations(java.lang.Object element)
If the given element is a
IStackFrame, returns classes locations of the stack frames "beneath" the given element. |
static final IJDIHelpers INSTANCE
java.io.File getClassesLocation(java.lang.Object element)
throws DebugException
null if the location cannot be determined.DebugExceptionjava.lang.String getSourcePath(java.lang.Object element)
throws DebugException
null if the source path cannot be determined. The returned path is relative to a sources
container.DebugExceptionjava.lang.Iterable<java.io.File> getStackFramesClassesLocations(java.lang.Object element)
throws DebugException
IStackFrame, returns classes locations of the stack frames "beneath" the given element. The returned iterable
does not include null elements.
Returns empty iterable if the given element is not a IStackFrame.DebugException