It looks like it's possible to implement proper type resolving fairly easily using the new JDT - we should consider using this:

https://github.com/jsight/windup/blob/mbriskar_ast_tweaks/rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/AnalyzeJavaFilesRuleProvider.java#L105

Then we could actually do things like query the known types on the project classpath and actually generate scaffolded from types in other projects / dependencies, etc.

--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."