question: private void tryParseWidgetFromElement ( IDOMElement element ) { String fqWidgetType = UiBinderXmlModelUtilities . computeQualifiedWidgetTypeName ( element ) ; if ( fqWidgetType == null ) { return ; } if ( IGNORED_CAPITALIZED_SYNTHETIC_ELEMENTS . contains ( fqWidgetType ) ) { return ; } javaTypeReferences . add ( fqWidgetType ) ; final IType type = JavaModelSearch . findType ( javaProject , fqWidgetType ) ; boolean validType = JavaModelSearch . isValidElement ( type ) ; List < IRegion > tagRegions = XmlUtilities . getElementTagRegions ( element , false ) ; for ( IRegion region : tagRegions ) { if ( ! validType ) { problemMarkerManager . setWidgetUndefinedError ( region , fqWidgetType ) ; } } }
target:  Parses a widget reference from an element. For example, g:Button.