About modifier in method signature

Kawtip Nippon <[email protected]>
Newsgroups gmane.comp.programming.aspect.general
Message-ID <[email protected]>
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.

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.