List<IntentionAction> (@NotNull PsiJavaCodeReferenceElement subclassRef, @NotNull PsiClass parentClass, @NotNull PsiClass subClass) { ModCommandAction fix = ImplementOrExtendFix.createFix(subClass, parentClass); return fix == null ? List.of() : List.of(fix.asIntention()); }