field.getAnnotations()能取到,而field.getAnnotation(Required.class)却不能取到 不知道为什么会出现这种现象,哪位大神可以帮忙分析一下吗
收起
你定义的注解有指定使用场景啥的么
报告相同问题?