I am very new to AspectJ...just started to learn. Till now i am able to get the parameters of user defined method in my aspect and print the captured parameter in my pointcut.
catch of method calls from JRE is not so easy.
is easier to learn aspectj when you try to catch your own methods. Define your own println method perhaps in HelloClass and try again.
for work with aspectj and jre classes you need to recompile jre classes with aspectj compiler.
http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg09350.html
I was shocked still .. 2 days after posting,no one answered my this question... but its fine i have found a solution and realized where i was wrong. it was the mistake in my signature of println method().
This is the correct signature of println:
void around(String str) :
call(void java.io.PrintStream.println(String)) && args(str)
and it worked fine for me . .