Skip to content
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

Allow annotation values to be included in nonPublicMarkers #285

Open
juliamcclellan opened this issue Dec 19, 2024 · 0 comments
Open

Allow annotation values to be included in nonPublicMarkers #285

juliamcclellan opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@juliamcclellan
Copy link

In AndroidX we would like to exclude some APIs from compatibility tracking based on the androidx.annotation.RestrictTo annotation. RestrictTo is used with a Scope value, e.g. @RestrictTo(LIBRARY_GROUP).

Only some scopes should be excluded from compatibility tracking, so we'd like to use something like androidx.annotation.RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) in nonPublicMarkers to filter APIs annotated @RestrictTo(LIBRARY) but not APIs annotated @RestrictTo(LIBRARY_GROUP) (or other scope values).

@fzhinkin fzhinkin added the enhancement New feature or request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants