boolean (@NotNull PsiElement anchor) { if (myIsEnabled == null) { Boolean overridden = overriddenUnresolvedReferenceInspection(anchor.getContainingFile()); myIsEnabled = Objects.requireNonNullElse(overridden, true); } return myIsEnabled; }