Find annotated packages in Java?
•
Java
Find in package info What is the simplest way to annotate all packages with specific package level annotations in Java?
Solution
Use something similar to the reflections library to complete most of the classpath scanning; Others can be used in libraries such as spring / etc
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码