@NotNull
  Collection<PsiField> getRequiredFields(@NotNull PsiClass psiClass, boolean ignoreNonNull) {
    Collection<PsiField> result = new ArrayList<>();
    final boolean classAnnotatedWithValue = PsiAnnotationSearchUtil.isAnnotatedWith(psiClass, LombokClassNames.VALUE);

    for (PsiField psiField : getAllNotInitializedAndNotStaticFields(psiClass)) {
      if (isRequiredField(psiField, ignoreNonNull, classAnnotatedWithValue)) {
        result.add(psiField);
      }
    }
    return result;
  }
@NotNull
  Collection<PsiField> getRequiredFields(@NotNull PsiClass psiClass, boolean ignoreNonNull)