code: public boolean recordTemplateTypeName(String name) {
      if (currentInfo.declareTemplateTypeName(name)) {
        populated = true;
        return true;
      } else {
        return false;
      }
    }
docs: Records a template type name.
  
  @return {@code true} if the template type name was recorded and
  {@code false} if the input template type name was already defined.