void (@NotNull final Project project, @NotNull final Editor editor, @NotNull final PsiFile file) { int offset = editor.getCaretModel().getOffset(); final Language language = PsiUtilCore.getLanguageAtOffset(file, offset); final CodeInsightActionHandler codeInsightActionHandler = CodeInsightActions.GOTO_SUPER.forLanguage(language); if (codeInsightActionHandler != null) { DumbService.getInstance(project).withAlternativeResolveEnabled(() -> codeInsightActionHandler.invoke(project, editor, file)); } }