My problem is that I my pointcut expression doesn't seem to match a method call and therefore is not executed. I suspect it has to do with generics in the parameter list.
The method I am trying to match has the following signature (actual names obfuscated):
public <T> ResponseEntity<T> doSomeAction(String a, Class<T> b, Object c, String d, String e) {
}
There is another method call that has the following signature that I'm not trying to match, but figure I could filter out by argument numbers. The only difference is that it has one less parameter (i.e. no String e).
public <T> ResponseEntity<T> doSomeAction(String a, Class<T> b, Object c, String d) {
}
The pointcut expression used is
@Before("execution (* packageNames.doSomeAction(..))
public void doAdvce(JointPoint joinPont) {
}
Some search, I did find something related, but I can't say I understand it.
Anyone able to shed some light on this?