public @Nullable JsonPointerPosition trimTail(int count) {
    return checkPosInRangeIncl(count) ? new JsonPointerPosition(steps.subList(0, steps.size() - count)) : null;
  }
public @Nullable JsonPointerPosition trimTail(int count)