void (PsiClass psiClass, ProblemSink builder, PsiAnnotation psiAnnotation, Collection<String> excludeProperty) { for (String fieldName : excludeProperty) { if (!StringUtil.isEmptyOrSpaces(fieldName)) { PsiField fieldByName = psiClass.findFieldByName(fieldName, false); if (null == fieldByName) { final String newPropertyValue = calcNewPropertyValue(excludeProperty, fieldName); builder.addWarningMessage("inspection.message.field.s.does.not.exist.exclude", fieldName) .withLocalQuickFixes(() -> PsiQuickFixFactory.createChangeAnnotationParameterFix(psiAnnotation, "exclude", newPropertyValue)); } else { if (fieldName.startsWith(LombokUtils.LOMBOK_INTERN_FIELD_MARKER) || fieldByName.hasModifierProperty(PsiModifier.STATIC)) { final String newPropertyValue = calcNewPropertyValue(excludeProperty, fieldName); builder.addWarningMessage("inspection.message.field.s.would.have.been.excluded.anyway", fieldName) .withLocalQuickFixes(() -> PsiQuickFixFactory.createChangeAnnotationParameterFix(psiAnnotation, "exclude", newPropertyValue)); } } } } }