If we specify as follows, it is working.

call(* java.io.PrintStream.print*(..))

Thanks,
Krishna



From:
Krishna Jasty <krishna.ja...@tcs.com>
To:
aspectj-users@eclipse.org
Date:
12/23/2013 11:16 AM
Subject:
[aspectj-users] pointcut specification for System.out calls
Sent by:
aspectj-users-boun...@eclipse.org



Hi , 

Can any body tell me how to specify pointcut for System.out.print or 
println calls in the aspectj framework. 

i specified as follows, but which is not capturing the calls. 
pointcut syscall(): call(* java.lang.System.out.println(..)); 

Thanks, 
Krishna
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to