@Override
  public Type getGroupType() {
    return switch (myParticle.getType()) {
      case SEQUENCE -> Type.SEQUENCE;
      case CHOICE -> Type.CHOICE;
      case ELEMENT -> Type.LEAF;
    };
  }
@Override
  public Type getGroupType()