void (@NotNull ActionContext context, @NotNull PsiClass superClass, @NotNull ModPsiUpdater updater) { SealedUtils.addClassToPermitsList(superClass, myClassQualifiedName); PsiReferenceList list = superClass.getPermitsList(); if (list != null) { JavaCodeStyleManager.getInstance(context.project()).shortenClassReferences(list); } }