Navigatable (@Nullable Location location, @NotNull TestConsoleProperties properties) { // by location gets navigatable element. // It can be file or place in file (e.g. when OPEN_FAILURE_LINE is enabled) if (location == null) return null; String stacktrace = myStacktrace; if (stacktrace != null && properties instanceof SMStacktraceParser && isLeaf()) { Navigatable result = ((SMStacktraceParser)properties).getErrorNavigatable(location, stacktrace); if (result != null) { return result; } } return location.getNavigatable(); }