Re: About modifier in method signature
"Eric Bodden" <[email protected]>
| Newsgroups | gmane.comp.programming.aspect.general |
|---|---|
| Message-ID | <F3EB3B98C34E94498F1110B618E3717D86874F@EXCHANGE2VS4.campus.mcgill.ca> |
Hi. No, I don't think there is any other way in standard AspectJ. How else would you wanna describe something which is not there, if not by negating the complement? Eric From: [email protected] [mailto:[email protected]] On Behalf Of Kawtip Nippon Sent: Friday, August 11, 2006 2:09 AM To: [email protected] Subject: [aosd-discuss] About modifier in method signature Dear all, I want to capture calls to methods that have no modifier(default) visibility types. But when I wrote the pointcut like this >> call (* * ()), the aspect would capture all the methods (with private protected public or no modifier) for me. I have to write a pointcut like this >> call(!public !protected !private * * ()), I can capture the call joinpoint I want. Are there any simpler ways to capture the default methods which have no modifier? Thank you, Kawtip. ________________________________ Stay in the know. Pulse on the new Yahoo.com. Check it out. <http://us.rd.yahoo.com/evt=42974/*http:/www.yahoo.com/preview> _______________________________________________ discuss mailing list - [email protected] To unsubscribe and change options, go to: http://aosd.net/mailman/listinfo/discuss_aosd.net Check out the AOSD.net Wiki: http://aosd.net/wiki