public void incTodoOccurrence(final IndexPattern pattern) {
    if (myTodoOccurrences == null) {
      myTodoOccurrences = new Object2IntOpenHashMap<>();
    }
    myTodoOccurrences.mergeInt(pattern, 1, Math::addExact);
  }
public void incTodoOccurrence(final IndexPattern pattern)