private static void validateDependencies(VirtualFile file,
                                           State state,
                                           List<MavenProjectProblem> result,
                                           Predicate<File> fileExistsPredicate) {
    for (MavenArtifact each : getUnresolvedDependencies(state, fileExistsPredicate)) {
      result.add(createDependencyProblem(file, MavenProjectBundle.message("maven.project.problem.unresolvedDependency",
                                                                          each.getDisplayStringWithType())));
    }
  }
private static void validateDependencies(VirtualFile file,
                                           State state,
                                           List<MavenProjectProblem> result,
                                           Predicate<File> fileExistsPredicate)