return classInfoMappings;
}
public JSObjectLiteral compileClassInfo(MClassInfo<T, C> classInfo) {
final JsonixModule module = getModule(classInfo);
final JSObjectLiteral classInfoMapping = this.codeModel.object();
classInfoMapping.append("type", this.codeModel.string("classInfo"));
classInfoMapping.append("localName",
this.codeModel.string(classInfo.getLocalName()));
final MClassInfo<T, C> baseTypeInfo = classInfo.getBaseTypeInfo();
if (baseTypeInfo != null) {
classInfoMapping.append("baseTypeInfo",
getTypeInfoDeclaration(baseTypeInfo));
}
classInfoMapping.append("propertyInfos",
compilePropertyInfos(classInfo));
module.registerTypeInfo(classInfoMapping);
return classInfoMapping;
}