@NotNull
  private Set<Sdk> collectSdks() {
    Set<Sdk> sdks = new HashSet<>();

    for (Module m : ModuleManager.getInstance(myProject).getModules()) {
      Sdk sdk = ModuleRootManager.getInstance(m).getSdk();
      if (sdk != null) {
        sdks.add(sdk);
      }
    }
    return sdks;
  }
@NotNull
  private Set<Sdk> collectSdks()