Skip to content
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

mapping change contributor for lambda params #9

Merged
merged 10 commits into from
Aug 4, 2023

Conversation

Machine-Maker
Copy link
Contributor

Two approaches are implemented here, only 1 should be added.

One approach is to, first, in the LambdaCallHydrator, also add each call to the target interface method. Then in the mapping ChangeContributor, when you encounter a functional interface method, iterate over all the lambdas and update the mappings appropriately.

The alternative is to not make any changes to LambdaCallHydrator, and instead wait until you encounter a synthetic method with a matching LambdaClosure, then fetch the interface method's mappings and apply.

@DenWav DenWav force-pushed the feature/copy-lambda-params branch from 7996fc7 to 7a34d6e Compare August 3, 2023 19:40
I can't think of a scenario where it makes sense for these to merge or
conflict.
@DenWav DenWav merged commit 45e51d3 into DenWav:main Aug 4, 2023
1 check passed
@Machine-Maker Machine-Maker deleted the feature/copy-lambda-params branch August 4, 2023 18:46
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.

2 participants