boolean (@NotNull final Project project) { return CachedValuesManager.getManager(project).getCachedValue(project, () -> { boolean foundMarkerClass = JavaPsiFacade.getInstance(project).findClass(IDE_PROJECT_MARKER_CLASS, GlobalSearchScope.allScope(project)) != null; return Result.createSingleDependency(foundMarkerClass, JavaLibraryModificationTracker.getInstance(project)); }); }