m_rootModel.accept(new ObjectInfoVisitor() {
@Override
public void endVisit(ObjectInfo objectInfo) throws Exception {
if (objectInfo instanceof XmlObjectInfo) {
XmlObjectInfo xmlObjectInfo = (XmlObjectInfo) objectInfo;
CreationSupport creationSupport = xmlObjectInfo.getCreationSupport();
if (!XmlObjectUtils.isImplicit(xmlObjectInfo)) {
DocumentElement element = creationSupport.getElement();
String path = UiBinderParser.getPath(element);
if (xmlObjectInfo instanceof IsWidgetWrappedInfo) {
xmlObjectInfo = ((IsWidgetWrappedInfo) xmlObjectInfo).getWrapper();
}
m_pathToModelMap.put(path, xmlObjectInfo);