boolean (PsiMethod overriding) { if (Registry.is("idea.report.nullity.missing.in.generated.overriders")) return false; PsiFile file = overriding.getContainingFile(); VirtualFile virtualFile = file != null ? file.getVirtualFile() : null; return virtualFile != null && GeneratedSourcesFilter.isGeneratedSourceByAnyFilter(virtualFile, overriding.getProject()); }