public HtmlBuilder(
     final String source,
     final boolean strict,
     final boolean sourceIsEscaped,
     final boolean shouldReEscape) {
   if (source == null) throw new NullPointerException();
   this.source = source;
   this.codePoints = new CodePointArray(source);
   this.throwExceptions = strict;
   this.sourceIsEscaped = sourceIsEscaped;
   this.shouldReEscape = shouldReEscape;
   this.codePointsLength = codePoints.length();
 }