Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add methods to access enum constants #259

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Sep 9, 2022

Resolves #253
Resolves #254

@Ladicek
Copy link
Contributor Author

Ladicek commented Sep 9, 2022

I added this as a draft to run CI with various compilers. All runs pass, so all tested compilers store the fields in bytecode in declaration order.

@Ladicek Ladicek marked this pull request as ready for review September 12, 2022 09:52
@Ladicek Ladicek added this to the 3.0.1 milestone Sep 12, 2022
This commit also adds missing javadoc to the `ClassInfo.unsorted*`
methods, describing their assumptions and limitations.
@Ladicek Ladicek merged commit 77c935f into smallrye:main Sep 12, 2022
@Ladicek Ladicek deleted the enum-constants branch September 12, 2022 10:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consider adding FieldInfo.enumConstantOrdinal() add ClassInfo.enumConstants()
1 participant