void (@NotNull final Project project, @NotNull final Editor editor, @NotNull final PsiFile file) { PsiClass aClass = OverrideImplementUtil.getContextClass(project, editor, file, PsiUtil.isLanguageLevel8OrHigher(file)); if (aClass == null) { return; } if (OverrideImplementExploreUtil.getMethodSignaturesToImplement(aClass).isEmpty()) { HintManager.getInstance().showErrorHint(editor, JavaBundle.message("implement.method.no.methods.to.implement")); return; } OverrideImplementUtil.chooseAndImplementMethods(project, editor, aClass); }