docs: public void setOccurrences(final List<ErrorOccurrence> pOccurrences) {
  
          occurrences.clear();
          for (final ErrorOccurrence error : pOccurrences) {
              addOccurrence(error);
          }
      }