void (@NotNull PsiField field) { if (hasDeprecatedAnnotation(field)) { if (warnOnMissingJavadoc && !hasDeprecatedComment(field, true)) { registerFieldError(field, Boolean.FALSE); } } else if (hasDeprecatedComment(field, false)) { registerFieldError(field, Boolean.TRUE); } }