Map<Class, ? extends RuntimeClassInfo> beans = set.beans();
for (Class cls : classes) {
JType jt = getType(cls);
ElementWriterBuilder instcWriter = rootWriter.newCondition(rootWriter.getObject()._instanceof(jt), jt);
RuntimeClassInfo rci = beans.get(cls);
add(instcWriter, cls, rci);
instcWriter.getCurrentBlock()._return();
if (!beans.get(cls).isElement()) {
c2type.put(cls, rci.getTypeName());
}
}
Map<QName, ? extends RuntimeElementInfo> elementMappings = set.getElementMappings(null);
for (Map.Entry<QName, ? extends RuntimeElementInfo> e : elementMappings.entrySet()) {