@ApiStatus.Internal
  private static void addSources(@NotNull Path jdkHome, @NotNull SdkModificator sdkModificator) {
    VirtualFile jdkSrc = findSources(jdkHome, "src");
    if (jdkSrc != null) {
      if (jdkSrc.findChild("java.base") != null) {
        for (VirtualFile root : jdkSrc.getChildren()) {
          if (root.isDirectory()) {
            sdkModificator.addRoot(root, OrderRootType.SOURCES);
          }
        }
      }
      else {
        sdkModificator.addRoot(jdkSrc, OrderRootType.SOURCES);
      }
    }

    VirtualFile fxSrc = findSources(jdkHome, "javafx-src");
    if (fxSrc != null) {
      sdkModificator.addRoot(fxSrc, OrderRootType.SOURCES);
    }
  }
@ApiStatus.Internal
  private static void addSources(@NotNull Path jdkHome, @NotNull SdkModificator sdkModificator)