boolean (@NotNull final Module module) { return CachedValuesManager.getManager(module.getProject()).getCachedValue(module, () -> { boolean foundMarkerClass = JavaPsiFacade.getInstance(module.getProject()) .findClass(IDE_PROJECT_MARKER_CLASS, GlobalSearchScope.moduleRuntimeScope(module, false)) != null; return Result.createSingleDependency(foundMarkerClass, JavaLibraryModificationTracker.getInstance(module.getProject())); }); }