Repository navigation
Remove redundant @hide doc tags from internal AndroidX Test APIs. - #2530
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
piper_1015528042
branch
from
November 6, 2026 18:51
33b0432 to
a8766ad
Compare
Remove redundant `@hide` Javadoc and KDoc tags across 166 source and
`package-info.java` files whose public or protected declarations are
hidden from API signature and reference documentation generation via
visibility annotations or package filters.
Relying on annotations instead of `@hide` doc tags:
- Unlocks passing `--ignore-comments` on API signature generation,
improving build performance and memory usage by skipping Javadoc/KDoc
extraction, comment AST parsing, and `{@link}` import caching.
- Enables Metalava declarative `<api-surfaces>` XML configuration,
which ignores `@hide` and `@removed` Javadoc tags by design.
- Keeps visibility enforced statically by compilers, Android Lint, and
IDEs via `@RestrictTo` rather than unchecked doc comments.
PiperOrigin-RevId: 1015528042
copybara-service
Bot
force-pushed
the
piper_1015528042
branch
from
November 6, 2026 18:53
a8766ad to
272d776
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove redundant @hide doc tags from internal AndroidX Test APIs.
Remove redundant
@hideJavadoc and KDoc tags across 166 source andpackage-info.javafiles whose public or protected declarations arehidden from API signature and reference documentation generation via
visibility annotations or package filters.
Relying on annotations instead of
@hidedoc tags:--ignore-commentson API signature generation,improving build performance and memory usage by skipping Javadoc/KDoc
extraction, comment AST parsing, and
{@link}import caching.<api-surfaces>XML configuration,which ignores
@hideand@removedJavadoc tags by design.IDEs via
@RestrictTorather than unchecked doc comments.