typeCache.put(typeInfo, typeBinding);
JBossXmlAdaptedType adaptedType = typeInfo.getUnderlyingAnnotation(JBossXmlAdaptedType.class);
if(adaptedType != null)
{
if(adaptedType.type() != JBossXmlConstants.DEFAULT.class)
throw new JBossXBRuntimeException("@JBossXmlAdaptedType on a type must not specify type element: " + typeInfo.getName());
adaptType(typeBinding, adaptedType);
}
// Determine any factory method