1,Field
2,Method
getAnnotation()
Class Clazz...
Clazz clazz=new Clazz...
Field [] fields=ReflectionUtils.getAllFields(Clazz.class,m->m.getAnnotation(XX.class)!=null)获取。
For(Field f:fields){
String val=(Stringf.get(clazz)
if(Stringutils.isempty(val)){
throw illegalargumentexception(f.getName())}