@Override
  public int getMaxOccurs() {
    return switch (myParticle.getQuantifier()) {
      case ONE_OR_MORE, ZERO_OR_MORE -> Integer.MAX_VALUE;
      case OPTIONAL, REQUIRED -> 1;
    };
  }
@Override
  public int getMaxOccurs()