From: rythos <nu...@jb...> - 2004-02-05 15:39:55
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820323#3820323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820323 On the subject of control flow, don't forget cflowbelow. Aspectwerkz implemented cflow, but no below. In my limited experience cflowbelow is almost more useful than cflow. Picking out non-recursive calls to certain things is very handy. (Also, once you have cflowbelow, cflow is pretty easy to implement from there.) I did an implementation of cflow for plain java code, and once the private methods were done it looked like: public boolean cflow() { privateCFlowMethod( 1 ); } public boolean cflowbelow() { privateCFlowMethod( 2 ); } Where the numbers are where to start looking on the stack trace. |