Skip to content

Allow annotation values to be included in nonPublicMarkers #285

@juliamcclellan

Description

@juliamcclellan

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions