GotoData (@NotNull Editor editor, PsiFile file) { int offset = editor.getCaretModel().getOffset(); PsiElement source = TargetElementUtil.getInstance().findTargetElement(editor, ImplementationSearcher.getFlags(), offset); if (source == null) { offset = tryGetNavigationSourceOffsetFromGutterIcon(editor, IdeActions.ACTION_GOTO_IMPLEMENTATION); if (offset >= 0) { source = TargetElementUtil.getInstance().findTargetElement(editor, ImplementationSearcher.getFlags(), offset); } } if (source == null) return null; return createDataForSource(editor, offset, source); }