if (type == null) {
LOG.log(Level.SEVERE, clazz.getName() + " was not found in class map");
return;
}
SchemaTypeSystem sts = BuiltinSchemaTypeSystem.get();
SchemaType st2 = sts.typeForClassname(type.getName());
part.setProperty(SchemaType.class.getName(), st2);
part.setProperty(XmlAnySimpleType.class.getName(), type);
part.setTypeQName(st2.getName());
XmlSchemaType xmlSchema = schemas.getTypeByQName(st2.getName());