Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.5
-
Fix Version/s: 1.8-rc-4
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
the visit method of AnnotationConstantExpression should include a call to super.visitConstantExpression(visitor). There is currently no way for a visitor to visit the actual AnnotationConstantExpression, but only its members.
Issue Links
- is depended upon by
-
GRECLIPSE-600
[Parser] Organize import removes nested annotations import
-
Just an FYI, This issue and GROOVY-3653 might create backwards compatibility issues for anyone who writes AST visitors. If the user applies a manual workaround to visit these nodes and then the visitor automatically visits the nodes as well then the node might be visited twice. We should still fix this, but we should document it in release notes or something. I know CodeNarc will need to update, not sure what others.