[BWC and API enforcement] Introduce checks for enforcing the API restrictions #9304
Labels
API
Issues with external APIs
enhancement
Enhancement or improvement to existing feature or request
Plugins
Is your feature request related to a problem? Please describe.
Ideally, the public API should never expose anything that is internal. To enforce that (or at least to understand the limits of how far we can go), we have to introspect each type annotated with
@PublicApi
or@ExprimentalApi
and make sure it leaks only@PublicApi
or@ExprimentalApi
types as well (exceptions, method return values, method arguments, annotations). How can we do that?Describe the solution you'd like
Describe alternatives you've considered
N/A
Additional context
Part of #8127
The text was updated successfully, but these errors were encountered: