LocalQuickFix (PsiClass aClass) { if (aClass instanceof PsiAnonymousClass) { return null; } final PsiClassType type = TypeUtils.getType(CommonClassNames.JAVA_LANG_CLONEABLE, aClass); return QuickFixFactory.getInstance().createExtendsListFix(aClass, type, true); }