boolean (PsiMethod method, PsiMethod superMethod) { if (REPORT_NOT_ANNOTATED_METHOD_OVERRIDES_NOTNULL && !(method.getReturnType() instanceof PsiPrimitiveType) && !method.isConstructor()) { NullableNotNullManager manager = getNullityManager(method); NullabilityAnnotationInfo info = manager.findEffectiveNullabilityInfo(method); if ((info == null || info.isInferred() || (info.getInheritedFrom() != null && manager.findContainerAnnotation(method) == null)) && isNotNullNotInferred(superMethod, true, IGNORE_EXTERNAL_SUPER_NOTNULL) && !hasInheritableNotNull(superMethod)) { return true; } } return false; }