The current implementation doesn't allow to support MethodInvocation - inherited classes :
@Override
public boolean supports(Class<?> clazz) {
return clazz.isAssignableFrom(MethodInvocation.class);
}
Looks like the intention was the opposite :
@Override
public boolean supports(Class<?> clazz) {
return MethodInvocation.class.isAssignableFrom(clazz);
}
Please change here
Comment From: jzheaux
Thanks, @jvmlet, for pointing this out. Are you able to provide a PR to make this change?