* @param textBlock the CALDoc text block for the attribute block. Can be null
* @param referenceGenerator the reference generator to use for generating cross references.
* @param generateEvenIfEmpty to generate the attribute block even when it is empty.
*/
private void generateHTMLForAttribute(StyleClass styleClass, String header, String metadataValue, CALDocComment.TextBlock textBlock, ReferenceGenerator referenceGenerator, boolean generateEvenIfEmpty) {
generateHTMLForAttribute(styleClass, header, metadataValue, new SingleTextBlockContent(textBlock, StyleClassConstants.CODE_BLOCK, CODE_FORMATTING_TAG), referenceGenerator, generateEvenIfEmpty);
}