void (@NotNull ErrorStripeEvent e) { RangeHighlighter highlighter = e.getHighlighter(); if (!highlighter.isValid()) return; HighlightInfo info = HighlightInfo.fromRangeHighlighter(highlighter); if (info != null) { GotoNextErrorHandler.navigateToError(myProject, e.getEditor(), info, null); } }