I was reviewing eXist documentation today. Ran into an article on how you can check for code quality using the http://pmd.sourceforge.net/ . What struck me was that you can express the checking rules in Java as well as XPath. The reason I am excited about the latter style is because recently I have been realizing that XPath has precise and very concise expressive power.
Since OO classes exhibit an inherent inheritance either through Type hierarchy or composition, I have been wondering lately about using XPath bindings to query static code (Java) ; this has been particularly true in recent projects when reviewing code using IntelliJIdea's very effective code analysis system - I felt a "realtime" Java Static code query system using XPath would be cool! I am very glad someone else did the work for me! I am thinking of getting the book : http://pmdapplied.com by the author of the codebase.
What a small world: eXist, XPath, Java, IntelliJIdea!
Add Comment