private static boolean isCycleScrollingAllowed(@NotNull MoveType type) {
    return type != MoveType.ExtendSelection && TreeUtil.isCyclicScrollingAllowed();
  }
private static boolean isCycleScrollingAllowed(@NotNull MoveType type)