Intellij IDEA not showing new variables added by my own Groovy ASTTransformation
Answered
I wrote my own ASTTransformation and add a `public static` variable in classes annotated with an Annotation. This is a gradle project.
When I use gradle to build it from the command line, I am able to see the injected variable using `javap` command.
But, the Intellij IDEA code completion does not show the new variable....
why?
Another Point : Groovy's builtin @Log4j2 annotation is also like my annotation and it adds `log` variable to the annotated class. This `log` variable is visible in the IDEA code completion....
Am I missing any configuration some where in IDEA?
Please sign in to leave a comment.
Hello,
Does it help to run "File | Invalidate Caches"?
No.
Invalidate and Restart done.
Index building over after restart...
Still, that injected method is not shown in the code completion....
Pls advice
Please report issue on YouTrack attaching sample project example for investigation: http://youtrack.jetbrains.com/issues/IDEA.
Issue created. Link below
https://youtrack.jetbrains.com/issue/IDEA-217030