Skip to content

Introduce -XepOpt:Nullness:LikelyPublicApiOnly=true for annotating only APIs that are likely to be accessible to users outside the package. - #6206

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_998638550
Oct 14, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_998638550

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Introduce -XepOpt:Nullness:LikelyPublicApiOnly=true for annotating only APIs that are likely to be accessible to users outside the package.

(It's possible to "trick" the check by having a private or package-private class that is extended by a more visible class. But the point here is just to identify cases that are very likely to be "public API.")

…only APIs that are likely to be accessible to users outside the package.

(It's possible to "trick" the check by having a `private` or package-private class that is extended by a more visible class. But the point here is just to identify cases that are very _likely_ to be "public API.")

PiperOrigin-RevId: 999407550
@copybara-service
copybara-service Bot merged commit 3588433 into master Oct 14, 2026
8 checks passed
@copybara-service
copybara-service Bot deleted the test_998638550 branch October 14, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant