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

Invocation of an annotation field references an executable. #578

Closed
GerardPaligot opened this issue Apr 11, 2016 · 2 comments
Closed

Invocation of an annotation field references an executable. #578

GerardPaligot opened this issue Apr 11, 2016 · 2 comments

Comments

@GerardPaligot
Copy link
Contributor

Assuming you have this annotation:

@interface Parameter {
  String value();
}

If you invocate the field value, Spoon build a CtExecutableReference and you can't get the field declaration cause of this reference.

@monperrus
Copy link
Collaborator

CtAnnotationType contains implicit methods for each field
OR
CtAnnotationTypeField implements CtField,CtMethod

@monperrus
Copy link
Collaborator

TODO remove if check in MainTest for this

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

2 participants