List<MavenProject> (MavenProject aggregator) { return withReadLock(() -> { List<MavenProject> modules = myAggregatorToModuleMapping.get(aggregator); return modules == null ? Collections.emptyList() : new ArrayList<>(modules); }); }