On the impl of AnnotatedType

Alex Buckley alex.buckley at oracle.com
Fri Jan 25 11:29:01 PST 2013


On 1/24/2013 7:28 PM, Werner Dietl wrote:
> There are also java.lang.reflect.AnnotatedType and several subclasses
> like AnnotatedParameterizedType.
> Is it a goal to have similar names and hierarchies between
> java.lang.reflect and javax.lang.model.type?

Yes. See the section "* Language model" in [1], where I relate:

   (the old) j.l.r.Type          to jx.l.m.t.TypeMirror, and
   (the new) j.l.r.AnnotatedType to jx.l.m.t.AnnotatedTypeMirror.

Alex

[1] 
http://mail.openjdk.java.net/pipermail/type-annotations-spec-experts/2012-September/000001.html


More information about the type-annotations-dev mailing list