void (PsiClass psiClass, ProblemSink builder, PsiAnnotation psiAnnotation, Collection<String> ofProperty) { for (String fieldName : ofProperty) { if (!StringUtil.isEmptyOrSpaces(fieldName)) { PsiField fieldByName = psiClass.findFieldByName(fieldName, false); if (null == fieldByName) { final String newPropertyValue = calcNewPropertyValue(ofProperty, fieldName); builder.addWarningMessage("inspection.message.field.s.does.not.exist.field", fieldName) .withLocalQuickFixes(() -> PsiQuickFixFactory.createChangeAnnotationParameterFix(psiAnnotation, "of", newPropertyValue)); } } } }