Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

copybara-service[bot]
Copy link

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