boolean () { Boolean result = myHasFilesOutOfProjectRoots; if (result == null) { Project project = getProject(); myHasFilesOutOfProjectRoots = result = project != null && !project.isDefault() && ContainerUtil.find(getFiles(), file -> FileIndexFacade.getInstance(project).getModuleForFile(file) != null) == null; } return result; }