void (PsiField field, List<? super String> diffs) { if (ProjectBytecodeAnalysis.getInstance(getProject()).getKey(field) == null) return; String fieldKey = PsiFormatUtil.getExternalName(field, false, Integer.MAX_VALUE); String externalNotNullMethodAnnotation = findExternalAnnotation(field, AnnotationUtil.NOT_NULL) == null ? "-" : "@NotNull"; String inferredNotNullMethodAnnotation = findInferredAnnotation(field, AnnotationUtil.NOT_NULL) == null ? "-" : "@NotNull"; if (!externalNotNullMethodAnnotation.equals(inferredNotNullMethodAnnotation)) { diffs.add(fieldKey + ": " + externalNotNullMethodAnnotation + " != " + inferredNotNullMethodAnnotation + "\n"); } }