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

Feature/improved delayed execution #1345

Merged
merged 6 commits into from
Aug 30, 2024
Merged

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Aug 29, 2024

Expand detection of "delayed execution" code.

Fields now treated as holding delated code when type is genericised with an identified functional type. List of types has been expanded to include functions from guava, kotlin internals, apache commons and a small number of special case libraries.

Consideration was given to treating any type on the classpath annotated with FunctionalInterface as a function type. This was rejected due to the performance hit for the scan of all dependencies. Although the user's own code could be scanned, this would result in a confusing difference in behaviour.

@hcoles hcoles force-pushed the feature/improved_delayed_execution branch from f580663 to c0a2548 Compare August 29, 2024 12:57
@hcoles hcoles force-pushed the feature/improved_delayed_execution branch from bcc62d9 to 4c86cb4 Compare August 30, 2024 09:50
@hcoles hcoles force-pushed the feature/improved_delayed_execution branch from 856e9f7 to 376d386 Compare August 30, 2024 11:36
@hcoles hcoles merged commit 5b8e2c1 into master Aug 30, 2024
7 checks passed
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