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

fix(annotation): Supports enum fields with Annotation#annotate() method. #767

Merged
merged 1 commit into from
Jul 28, 2016
Merged

fix(annotation): Supports enum fields with Annotation#annotate() method. #767

merged 1 commit into from
Jul 28, 2016

Conversation

GerardPaligot
Copy link
Contributor

Closes #750

target.addField(field);

final CtAnnotation<BoundNumber> byteOrder = factory.Annotation().annotate(field, BoundNumber.class, "byteOrder", BoundNumber.ByteOrder.LittleEndian);
on(field).giveMeAnnotation(BoundNumber.class);
Copy link
Collaborator

Choose a reason for hiding this comment

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

assertEquals with byteOrder

@GerardPaligot
Copy link
Contributor Author

@monperrus PR ready.

@monperrus monperrus merged commit 8ca76ec into INRIA:master Jul 28, 2016
@GerardPaligot GerardPaligot deleted the fix_750 branch July 28, 2016 10:35
@tdurieux tdurieux mentioned this pull request Sep 19, 2016
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.

2 participants