ivate Module [] allModules() {
    return ReadAction.nonBlocking(() -> {
      return project.isDisposed() ? null : ModuleManager.getInstance(project).getModules();
    }).expireWith(this).executeSynchronously();
  }


ivate Module [] allModules() {