void (PsiAnnotation psiAnnotation, PsiClass psiClass, ProblemSink builder) { boolean callSuperProperty = PsiAnnotationUtil.getBooleanAnnotationValue(psiAnnotation, "callSuper", false); if (callSuperProperty && !PsiClassUtil.hasSuperClass(psiClass)) { builder.addErrorMessage("inspection.message.generating.equals.hashcode.with.super.call") .withLocalQuickFixes(() -> PsiQuickFixFactory.createChangeAnnotationParameterFix(psiAnnotation, "callSuper", "false"), () -> PsiQuickFixFactory.createChangeAnnotationParameterFix(psiAnnotation, "callSuper", null)); } }