hollischuang / toBeTopJavaer

To Be Top Javaer - Java工程师成神之路
https://www.hollischuang.com
25.36k stars 5.47k forks source link

注解与反射的结合一节中代码有问题 #88

Closed qingchengqingcheng closed 3 years ago

qingchengqingcheng commented 4 years ago

clazz.isAnnotationPresent(MyAnno.class) 这句应该是检测属性上有无注解