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

AnnotatedTypeMirror#typeVariable seems to be hardly used #1089

Open
wmdietl opened this issue Feb 4, 2025 · 0 comments
Open

AnnotatedTypeMirror#typeVariable seems to be hardly used #1089

wmdietl opened this issue Feb 4, 2025 · 0 comments

Comments

@wmdietl
Copy link
Member

wmdietl commented Feb 4, 2025

https://github.com/eisop/checker-framework/blame/e5589987c57f0d6a60f97bcfd520bdad182a8bb4/framework/src/main/java/org/checkerframework/framework/type/AnnotatedTypeMirror.java#L2196

The field and setter/getter are hardly used.

The only real use is in AnnotationFileParser.

It might be easier to compute the value in AnnotationFileParser when needed instead of computing it for all wildcards in the code.

@wmdietl wmdietl mentioned this issue Feb 4, 2025
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

No branches or pull requests

1 participant