-
-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request:Add getClassesWithAllAnnotations #821
Comments
Do you want an AND or an OR operator, if multiple annotations are specified? |
Currently, I'm using |
Hi, I added your requested method in the git version, can you please test it? |
Cool, I'm currently using val classInfoList = scanResult.getClassesWithAnnotation(FeatureSpec::class.java)
.intersect(scanResult.getClassesWithAnnotation(Component::class.java)) code like this. |
@He-Pin please test the latest git version. Thanks. |
Released in 4.8.167. Thanks for the request! |
@lukehutch Thanks, it works well. refs: e66ee3c#comments |
Great, thanks for confirming. |
Motivation:
It would be nice to get a
ClassInfoList
which contains the Classes annotated with both annotations, currently, only one annotation is supported.The text was updated successfully, but these errors were encountered: