code: protected void addName() {
          if (Strings.isNotEmpty(builder)) {
              int endOffset = 0;
              if (Strings.endsWith(builder, tagSeparator)) { // Ends with ','.
                  endOffset = 1;
              }
              if (Strings.startsWith(builder, inheritanceMarker)) { // Starts with '.'.
                  inherits.add(builder.substring(1, builder.length() - endOffset));
              } else {
                  tags.add(builder.substring(0, builder.length() - endOffset));
              }
              Strings.clearBuilder(builder);
          }
      }
docs: Appends tag or inheritance name from the current builder data.