-
Notifications
You must be signed in to change notification settings - Fork 107
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
Filter for full annotations #356
Comments
You can filter for annotations with the following configuration (see here):
Filtering for values of elements of an annotation like |
Thank you for the quick reply! It would be a great convenience, the team I work with would probably start using the tool in that case. By the way, I managed to filter out classes using the annotation with a groovy script, but japicmp.model.JApiMethod doesn't seem to include information about method annotations, so there is a half-way workaround at least. |
Have you seen the attribute |
aww shucks |
Being able to filter out not only by annotation but also by attribute value would be great. It would make japicmp compatible with the ApiGuardian annotations which are used by a bunch of major OSS packages (e.g. JUnit 5 which is where I stumbled across them).
|
I have the following style of annotations on a project:
@Annotation(state = State.STABLE)
As far as I understand the code, filtering for something like this is not possible at the moment.
Do I understand this right, and will this be implemented in the future if so?
The text was updated successfully, but these errors were encountered: