code: public void cleanUpAllDiscriminatorState() {
          if (this.dp != null) {
              Iterator<Discriminator> it = this.dp.getDiscriminators().iterator();
              while (it.hasNext()) {
                  it.next().cleanUpState(this);
              }
          }
      }
docs: Clean up potential state information left in this VC from any
  of the discriminators in the group.