InternalSelectionBuilder selection =
(InternalSelectionBuilder) variant.getSelectionBuilder();
if (selection != null) {
selection.accept(renderer);
}
InternalContentBuilder content =
(InternalContentBuilder) variant.getContentBuilder();
if (content != null) {
content.accept(renderer);
}
InternalMetaDataBuilder metadata =
(InternalMetaDataBuilder) variant.getMetaDataBuilder();
if (metadata != null) {
metadata.accept(renderer);