@Deprecated
  public Promise<List<Module>> scheduleImportAndResolve() {
    var promise = new AsyncPromise<List<Module>>();
    var modules = updateAllMavenProjectsSync(MavenImportSpec.IMPLICIT_IMPORT);
    promise.setResult(modules);
    return promise;
  }
@Deprecated
  public Promise<List<Module>> scheduleImportAndResolve()