public void addOccurrence(char[] chars, int start, int end, int occurrenceMask) {
    addOccurrence(null, chars, start, end, occurrenceMask);
  }
public void addOccurrence(char[] chars, int start, int end, int occurrenceMask)