springAOP中@within和@annotation的区别
2021-04-14 本文已影响0人
无尘粉笔
@within和@annotation的区别:
@within 对象级别
@annotation 方法级别
参数上的annotation
Method.getParameterAnnotations()
或Method.getAnnotations();
@within和@annotation的区别:
@within 对象级别
@annotation 方法级别
参数上的annotation
Method.getParameterAnnotations()
或Method.getAnnotations();