Java customizes the Annotation and parses the Annotation through reflection

1, Introduction For those who have used Spring, annotations are no stranger. I have also written an article to introduce annotations before. https://blog.csdn.net/zxd1435513775/article/details/89973721 2, Custom annotation 1. Create a custom Annotation @Documented @Target(ElementType.METHOD) // Indicates that the annotation can only ...

Posted by pfchin on Sat, 09 Oct 2021 18:42:48 -0700