void (@NotNull InsertionContext context, @NotNull LookupElement item) { context.getDocument().deleteString(context.getStartOffset(), context.getTailOffset()); PsiMethod method = (PsiMethod)item.getObject(); List<PsiMethod> prototypes = OverrideImplementUtil.overrideOrImplementMethod(myPsiClass, method, false); context.commitDocument(); GenerateMembersUtil.insertMembersAtOffset(context.getFile(), context.getStartOffset(), OverrideImplementUtil.convert2GenerationInfos(prototypes)); }