Yes, there are many different ways to write code to do the same thing, and smartbytecode is not supposed to find all in one pass. Multiple passes is needed, and if planned carefully most cases can be found... Works fine for me at least.. :)
"chiba" wrote : I see. Your approach is right. However, your approach | might complicate a program if the search pattern is | complex. | | For example, if you want to find both | | boolean b | = Display.getDisplay(<some expression>).getCurrent() | | and | | Display d = Display.getDisplay(this); | boolean b = d.getCurrent(); | | Then the pattern given to SmartBytecode would be | much more complicated. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868108#3868108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868108 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user