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

missing pieces in the AST: parser seems to skip annotation attributes after a missing value #3419

Open
martinlippert opened this issue Dec 9, 2024 · 0 comments

Comments

@martinlippert
Copy link

Similar to #3155, I am working on code completion based on AST nodes and came across this case for a type declaration:

@ConditionalOnProperty(prefix = , name = "")

The resulting AST does not contain any information about the name attribute anymore. It just gets removed from the AST, where the annotation on the type declaration looks like:

@ConditionalOnProperty(prefix=$missing$)

(using org.eclipse.jdt.core version 3.40.0)

(FYI @mickaelistria and @stephan-herrmann)

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

1 participant