Skip to content

Add MethodHandle support to @Inject constructors/field/methods.#1888

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_739964636
Mar 25, 2025
Merged

Add MethodHandle support to @Inject constructors/field/methods.#1888
copybara-service[bot] merged 1 commit into
masterfrom
test_739964636

Conversation

@copybara-service

Copy link
Copy Markdown

Add MethodHandle support to @Inject constructors/field/methods.

This is the most complicated one since it uses a long tail of rarer features (InjectionListeners, member injection). But mostly it builds on established patterns so the trickiest part was actually getting the exception handling correct, luckily this is pretty well tested!

With this there is enough to start broad based testing. Beyond this there are open questions about how to handle various member injection APIs for which I have left some TODOs

This is the most complicated one since it uses a long tail of rarer features (InjectionListeners, member injection). But mostly it builds on established patterns so the trickiest part was actually getting the exception handling correct, luckily this is pretty well tested!

With this there is enough to start broad based testing.  Beyond this there are open questions about how to handle various member injection APIs for which I have left some TODOs

PiperOrigin-RevId: 740475465
@copybara-service copybara-service Bot merged commit b8dc884 into master Mar 25, 2025
@copybara-service copybara-service Bot deleted the test_739964636 branch March 25, 2025 20:59
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