Imagine that we have a class:User.java
below package: src/service/model
And we can get the package (src/service/model
) annotations using User.class.getPackage().getAnnotaions();
Then How can we get the parent package (src/service
) annotations.
I don't know how to get package annotations in a skip level.
Aucun commentaire:
Enregistrer un commentaire