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

Support accessing enum values annotations #10581

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Support accessing enum values annotations #10581

merged 2 commits into from
Mar 7, 2024

Conversation

dstepanov
Copy link
Contributor

No description provided.

@dstepanov dstepanov added the type: improvement A minor improvement to an existing feature label Mar 6, 2024
*/
@Internal
@UsedByGeneratedCode
public record EnumConstantRef<E extends Enum<E>>(E value, AnnotationMetadata annotationMetadata) implements EnumConstant<E> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it need to be public?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's referenced from the writer

Copy link

sonarcloud bot commented Mar 6, 2024

@yawkat yawkat merged commit ff72307 into 4.4.x Mar 7, 2024
15 checks passed
@yawkat yawkat deleted the enumbd branch March 7, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants