How to build a list of classes annotated with my custom annotation?

后端 未结 8 1160
梦毁少年i
梦毁少年i 2020-12-23 16:52

I want to get a complete list of classes in the application which are annotated with @Custom annotation. What is the best mechanism for this operation?

8条回答
  •  长情又很酷
    2020-12-23 17:19

    classindex is a compile-time annotation scanning library, implemented using an annotation processor.

提交回复
热议问题