MTypeInfo<T, C> scope = elementInfo.getScope();
QName substitutionHead = elementInfo.getSubstitutionHead();
final JSObjectLiteral value = this.codeModel.object();
module.registerElementInfo(value);
JSAssignmentExpression typeInfoDeclaration = getTypeInfoDeclaration(typeInfo);
QName elementName = elementInfo.getElementName();
value.append("elementName",
module.createElementNameExpression(elementName));
// TODO
if (typeInfoDeclaration != null) {