public static @Nullable ServersTreeNodeSelector getNodeSelector(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    if (project == null) return null;

    return getInstance(project).getNodeSelector();
  }
public static @Nullable ServersTreeNodeSelector getNodeSelector(@NotNull AnActionEvent e)