博主首页
摘要: 获取方法上的注解,获取类上面的注解 if(f.isAnnotationPresent(ApiModelProperty.class)){ //获取类所有的方法 Method[] methods = Test01Controller.class.getMethods(); for (int i=0;i 阅读全文
posted @ 2020-01-20 14:25 笑~笑 阅读(4045) 评论(0) 推荐(0)
摘要: 获取完整的方法名,包含包名、类名、方法名 joinPoint.getTarget().getClass().getName()+"."+joinPoint.getSignature().getName() aop中获取请求对象 RequestAttributes ra = RequestContex 阅读全文
posted @ 2020-01-20 10:58 笑~笑 阅读(755) 评论(0) 推荐(0)