@Nullable
  public FindResult getOccurrenceAtCaret() {
    int offset = getEditor().getCaretModel().getOffset();
    return ContainerUtil.find(myOccurrences, occurrence -> occurrence.containsOffset(offset));
  }
@Nullable
  public FindResult getOccurrenceAtCaret()