buffer.append(getBasicMetadataHtml(owner, metadata, caldoc));
buffer.append(getTypeClassMetadataHtml(owner, (TypeClassMetadata) metadata));
buffer.append(getAdditionalMetadataHtml(owner, metadata, caldoc));
} else if (metadata instanceof TypeConstructorMetadata) {
QualifiedName qualifiedName = featureName.toQualifiedName();
ModuleTypeInfo moduleTypeInfoForFeature = owner.getPerspective().getMetaModule(qualifiedName.getModuleName()).getTypeInfo();
TypeConstructor typeCons = moduleTypeInfoForFeature.getTypeConstructor(qualifiedName.getUnqualifiedName());
CALDocComment caldoc = typeCons.getCALDocComment();
buffer.append(getBasicMetadataHtml(owner, metadata, caldoc));