public static String getRelativePath ( JPDAThread thread, String stratumn ) { try { return convertSlash (thread.getSourcePath (stratumn)); } catch (AbsentInformationException e) { return getRelativePath (thread.getClassName ()); } }
public boolean sourceAvailable ( JPDAThread t, String stratumn, boolean global ) { try { return sourceAvailable ( convertSlash (t.getSourcePath (stratumn)), global ); } catch (AbsentInformationException e) { return sourceAvailable ( convertClassNameToRelativePath (t.getClassName ()), global ); } }
url = getURL (convertSlash (t.getSourcePath (stratumn)), true); } catch (AbsentInformationException e) { url = getURL (convertClassNameToRelativePath (t.getClassName ()), true);
public boolean showSource ( JPDAThread t, String stratumn ) { int lineNumber = t.getLineNumber (stratumn); if (lineNumber < 1) lineNumber = 1; try { return EditorContextBridge.getContext().showSource ( getURL (convertSlash (t.getSourcePath (stratumn)), true), lineNumber, debugger ); } catch (AbsentInformationException e) { return EditorContextBridge.getContext().showSource ( getURL ( convertClassNameToRelativePath (t.getClassName ()), true ), lineNumber, debugger ); } }