Ken Lai [mailto:[EMAIL PROTECTED]] wrote: > Thanks for everyone's response. > > Roger, Doclet is very close to what I need!!! > I'll need to do more digging to figure out if it > does one important thing: giving me the tokens in > a method body. I need to use it for method to > method comparison.
For what? Static calling trees? Static sequence diagramming? > So far I haven't seen anything > in the doclet that mentions it but I'll look it > up to confirm. Ouch! I am fairly certain that doclets do not introspect method bodies at all, but I am always open to the possibility that I am wrong. Let us know if you find out differently. > Keep them coming!!! The only technology designed for Java programmers that I have seen that will allow you to introspect method bodies in source code is JavaCC with a Java language grammar. But as you noted earlier you have to write a great deal of the code yourself. Hey George, Jason, et.al.! Will CAST introspect methods far enough to allow you to get at tokens inside method bodies? In any case, Ken, please keep us all posted. I would love to find out what finally works for you. -- Roger Glover ____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________
