void (@NotNull PsiField field) { final PsiType type = field.getType(); final Annotated annotated = check(field, holder, type); if (TypeConversionUtil.isPrimitiveAndNotNull(type)) { return; } Project project = holder.getProject(); if (annotated.isDeclaredNotNull ^ annotated.isDeclaredNullable) { final String anno = annotated.isDeclaredNotNull ? manager.getDefaultNotNull() : manager.getDefaultNullable(); final List<String> annoToRemove = annotated.isDeclaredNotNull ? nullables : notNulls; if (!checkNonStandardAnnotations(field, annotated, manager, anno, holder)) return; checkAccessors(field, annotated, project, manager, anno, annoToRemove, holder); checkConstructorParameters(field, annotated, manager, anno, annoToRemove, holder); } }