static boolean isRequiredField(@NotNull PsiField psiField, boolean ignoreNonNull, boolean classAnnotatedWithValue) {
    final PsiModifierList modifierList = psiField.getModifierList();
    boolean shouldAddField = false;
    if (null != modifierList) {
      final boolean isFinal = isFieldFinal(psiField, modifierList, classAnnotatedWithValue);
      final boolean isNonNull = !ignoreNonNull && PsiAnnotationSearchUtil.isAnnotatedWith(psiField, LombokUtils.NONNULL_ANNOTATIONS);
      // accept initialized final or nonnull fields
      shouldAddField = (isFinal || isNonNull) && !psiField.hasInitializer();
    }
    return shouldAddField;
  }
static boolean isRequiredField(@NotNull PsiField psiField, boolean ignoreNonNull, boolean classAnnotatedWithValue)