The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
NewArrayTree does not provide access to the annotations of dimAnnotations fields.
Comments
There are cases like ModifiersTree which do provide an API for accessing annotations, so I think that we should do the same here.
31-07-2013
Declaration annotations are accessed directly from the declaration tree (via the modifiers tree). This would imply that the annotations on type trees and "new array" trees should be accessed directly as well.
31-07-2013
The precedent is itself broken. You get annotations from type trees via AnnotatedTypeTree. Uugh.
31-07-2013
Design issue here is where to put the API. i.e. does the functionality go on NewArrayTree or on helper classes
31-07-2013
EVALUATION
This affects TreeScanner and the corresonding (new) SourceTreeScannerTest