I have a requirement now, that is when using mybatis(especially those batch execute sql), check parameter first , if the parameter is null or empty , then just return, don\'t pr
To get method return type/class from a ProceedingJoinPoint you can do this:
ProceedingJoinPoint
Signature signature = proceedingJoinPoint.getSignature(); Class returnType = ((MethodSignature) signature).getReturnType();