You would use QDox to parse Java source and make an object model. It is pretty neat, but perhaps will be sidelined by Sun-sponsored equivalents that tap into the javac tool-chain. For now though this pioneering technology still serves a niche, and will push forward with releases in years to come.
If anyone wants to see an elegant code-base, that is was perfectly test-driven-designed and also see a simple use of BYacc/J & JFlex, this Joe Walnes project is one to look at.
No comments:
Post a Comment