private static void incLookup(boolean forwardDirection, @NotNull HighlighterIterator iterator) {
    if (forwardDirection) {
      iterator.advance();
    }
    else {
      iterator.retreat();
    }
  }
private static void incLookup(boolean forwardDirection, @NotNull HighlighterIterator iterator)