List<MavenArtifact> (State state) { synchronized (state) { if (state.myUnresolvedDependenciesCache == null) { List<MavenArtifact> result = new ArrayList<>(); for (MavenArtifact each : state.myDependencies) { boolean resolved = MavenArtifactUtilKt.resolved(each); each.setFileUnresolved(!resolved); if (!resolved) result.add(each); } state.myUnresolvedDependenciesCache = result; } return state.myUnresolvedDependenciesCache; } }