Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Matching based on method parameter value

Hi,

  Is it possible to define a pointcut that matches based on the parameter passed to the method?

e.g.

I would like to match this:

System.out.prinlnt("Constant String");
or even
String foo = "Constant String";
System.out.prinln(foo);

More specifically, if the string is dynamically created, I don't care to instrument it.

Thanks!
-Ed

Back to the top