Bug 5068145 added getPosition methods to AnnotationMirror and AnnotationValue. These were added in response to feedback from early uses of the mirror api. However, the initial implementation of these methods uses the source position of the declaration to which the annotation and its values are attached. Therefore, the location information is not nearly as precise as it could be.
- relates to
-
JDK-6388543 improve accuracy of source positions for AnnotationValue param of Messager.printMessage
-
- Closed
-