Other |
---|
tbdUnresolved |
Relates :
|
As a follow-up to stripping annotations from type mirrors returned by methods in Types (JDK-8042981), it would be helpful to provide methods to add annotations. Sketch of a proposal: <T extends TypeMirror> T withAnnotations(T typeMirror, List<? extends AnnotationMirror> annotations) <T extends TypeMirror> T withAnnotations(T typeMirror, AnnotatedConstruct annotationHost) http://mail.openjdk.java.net/pipermail/compiler-dev/2014-May/008782.html