Walk MXML (sub-)DOM, using already-resolved types to go as far into the tree as you can, examining children at each level. When a node is encountered whose backing class is unresolved, put node and classname on a request queue. The type will be added to the CU's type dependency set, and you'll be called back on the corresponding node after type resolution has been attempted.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.