public static void createAndLinkPartialMatchFrame(ControlFrame frame, Keyword kind) {
    { PartialMatchFrame strategy = ((QueryIterator)(Logic.$QUERYITERATOR$.get())).partialMatchStrategy;
      PartialMatchFrame partialmatchframe = strategy.createPartialMatchFrame(frame, kind);

      partialmatchframe.kind = kind;
      frame.partialMatchFrame = partialmatchframe;
      partialmatchframe.controlFrame = frame;
    }
  }