public void addToCollection(@NotNull Collection<? super HighlightData> list, boolean highlighted) {
    list.add(this);
    if (highlighted) list.add(new HighlightData(getStartOffset(), getEndOffset(), BLINKING_HIGHLIGHTS_ATTRIBUTES, getAdditionalColorKey()));
  }
public void addToCollection(@NotNull Collection<? super HighlightData> list, boolean highlighted)