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

AnnotationUtils.getElementValueArray handling of defaults #1064

Open
wmdietl opened this issue Jan 16, 2025 · 0 comments
Open

AnnotationUtils.getElementValueArray handling of defaults #1064

wmdietl opened this issue Jan 16, 2025 · 0 comments

Comments

@wmdietl
Copy link
Member

wmdietl commented Jan 16, 2025

AnnotationUtils.getElementValueArray with an element name is deprecated.
It allowed using the default value, by providing a boolean parameter.

The suggested replacement with an executable element does not provide the same mechanism.
The only option is to provide a default value, which duplicates the logic from the qualifier declaration.

For examples, see the usages in
vehiloco/linear-checker#16
which should be cleared up when this issue is fixed.

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