}
if (mapping != null) {
jType = mapping.getType().getTypeClass();
if (jType instanceof JDefinedClass) {
JDefinedClass jdType = (JDefinedClass)jType;
for (JType jt : jdType.listClasses()) {
if (jt.name().equalsIgnoreCase(part.getElementQName().getLocalPart())) {
jType = jt;
}
}
}