private @NotNull PythonPathEditor createPathEditor(final @NotNull Sdk sdk) {
    PythonPathEditor pathEditor;
    if (PythonSdkUtil.isRemote(sdk)) {
      pathEditor = new PyRemotePathEditor(myProject, sdk);
    }
    else {
      pathEditor = new PythonPathEditor(PyBundle.message("python.sdk.configuration.tab.title"), OrderRootType.CLASSES,
                                        FileChooserDescriptorFactory.createAllButJarContentsDescriptor());
    }
    pathEditor.addReloadPathsActionCallback(this::reloadSdk);
    return pathEditor;
  }
private @NotNull PythonPathEditor createPathEditor(final @NotNull Sdk sdk)