Skip to content

Remove KotlinMetadataUtil and KotlinMetadataUtils from Dagger and Hilt. - #5349

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1015267736
Nov 11, 2026
Merged

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

Conversation

@copybara-service

Copy link
Copy Markdown

Remove KotlinMetadataUtil and KotlinMetadataUtils from Dagger and Hilt.

Following the migration to XPropertyElement.hasInaccessibleAnnotations(), KotlinMetadataUtil no longer parses or caches Kotlin metadata and only wraps a few XProcessing helper methods. Inline those remaining methods into their callers (InjectionAnnotations, DependencyRequestValidator, Processors, and AndroidEntryPointMetadata) and delete KotlinMetadataUtil and KotlinMetadataUtils.

RELNOTES=N/A

… Hilt.

Following the migration to `XPropertyElement.hasInaccessibleAnnotations()`, `KotlinMetadataUtil` no longer parses or caches Kotlin metadata and only wraps a few XProcessing helper methods. Inline those remaining methods into their callers (`InjectionAnnotations`, `DependencyRequestValidator`, `Processors`, and `AndroidEntryPointMetadata`) and delete `KotlinMetadataUtil` and `KotlinMetadataUtils`.

RELNOTES=N/A
PiperOrigin-RevId: 1019496728
@copybara-service
copybara-service Bot merged commit 5cf33db into master Nov 11, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_1015267736 branch November 11, 2026 22:23
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