//-- Right now the only time we actually generate source for a simpletype is
//-- when it's an enumeration
if (simpleType.hasFacet(Facet.ENUMERATION)) {
ClassInfo classInfo = sInfo.resolve(simpleType);
if (classInfo == null) {
JClass jClass = _sourceFactory.createSourceCode(
_bindingComponent.getBinding(), simpleType, sInfo);
_singleClassGenerator.process(jClass, sInfo);
} else {
JClass jClass = classInfo.getJClass();
_singleClassGenerator.process(jClass, sInfo);
}
}
} //-- processSimpleType