}
else if (propertyType.isCollection())
{
if (trace)
log.trace("Property " + property.getName() + " is a collection");
JBossXmlCollection xmlCol = property.getUnderlyingAnnotation(JBossXmlCollection.class);
if (xmlCol != null)
{
// this is the type that should be analyzed
propertyType = propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
}
ClassInfo propertyClassInfo = (ClassInfo)propertyType;
propertyXmlType = propertyClassInfo.getUnderlyingAnnotation(XmlType.class);
propertyComponentType = propertyClassInfo.getComponentType();
}