@RequestMapping(value = "/addPrescription")
@Token(needSaveToken = true)
public ModelAndView addPrescription(HttpServletRequest request,
HttpServletResponse response) {
},
但是HandlerMethod handlerMethod = (HandlerMethod) handler;
Method method = handlerMethod.getMethod();
Token annotation = method.getAnnotation(Token.class);
annotation为空。请问这是为什么?