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

Bugs/564 fix maven raml builder plugin #565

Conversation

Riduidel
Copy link
Contributor

Fixes #564 by allowing elements from inner classes to be referenced in annotation.
The following are supported :

  • direct field access
  • access to field declared in an inner class or interface
    The following are not supported
  • access to field declared in another class, even if in the same package
  • access to a class defined from an expression (which can't happen, but is nevertheless considered as valid by javaparser)

Notice using fields from other compilation units would be way harder, as they are not loaded by javaparser

… be referenced in annotation.

The following are supported :
 - direct field access
 - access to field declared in an inner class or interface
The following are not supported
 - access to field declared in another class, even if in the same package
 - access to a class defined from an expression (which can't happen, but is nevertheless considered as valid by javaparser)
@cescoffier
Copy link
Member

Looks good to me !

@barjo is it ok for you ?

Copy link
Member

@barjo barjo left a comment

Choose a reason for hiding this comment

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

👍 thanks!

@cescoffier cescoffier merged commit d50fba5 into wisdom-framework:master Nov 27, 2016
@cescoffier
Copy link
Member

thanks, merged !

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.

3 participants