Say I have a method like so:
public void method(@CustomAnnotation("value") String argument)
Is there a pointcut expression that could select all methods with arguments annotated with @CustomAnnotation? If so is there a way I could get access go the “value” argument?
On selecting your arguments :
ref : http://forum.springsource.org/archive/index.php/t-61308.html
On getting the annotation param :
Will get you the annotations which you can iterate and use instanceof to find your bound annotation. I know thats hacky but afaik this is the only way supported currently.