} else {
context = new UiBinderContext(m_state, m_classLoader, m_file, m_document);
}
// do parse
try {
UiBinderParser parser = new UiBinderParser(context);
return parser.parse();
} finally {
// remember GwtState, even if parsing failed, GwtState may be created
if (m_state == null) {
m_state = context.getState();
m_classLoader = context.getClassLoader();