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: support cross-method type analysis for final fields #100

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

SirYwell
Copy link
Owner

Storing MethodTypes and MethodHandles in final fields is common. Due to complexity, the assignment is often separate from the declaration. This makes analysis somewhat more complex, but we can join all assignments to a final field to determine its type. For instance fields, we also need to make sure that reading from a variable considers whether we read from this instance or a different one.

@SirYwell SirYwell merged commit 622f8ee into main Jun 25, 2024
6 checks passed
@SirYwell SirYwell deleted the feature/final-fields branch June 25, 2024 06:58
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