analysisState = UNANALYZED;
  protected void patch()  {    super.patch();    XSDModelGroupDefinition theResolvedModelGroupDefinition = getResolvedModelGroupDefinition();    if (theResolvedModelGroupDefinition != this && theResolvedModelGroupDefinition.getContainer() == null)    {      XSDModelGroupDefinition newResolvedModelGroupDefinition =        resolveModelGroupDefinition(theResolvedModelGroupDefinition.getTargetNamespace(), theResolvedModelGroupDefinition.getName());      if (newResolvedModelGroupDefinition.getContainer() != null)      {        handleNewResolvedModelGroupDefinition(newResolvedModelGroupDefinition);      }    }  }