Sam,

You are not missing anything; there is a typo on that page.

You are correct that the common supertype for all types in javax.lang.model is TypeMirror, not Type.

I will file a bug to fix the error.

-- Jon


On 9/30/18 8:15 PM, Sam Lijin wrote:
Hi all,

Hopefully I've gotten the right mailing list for this. I was digging around in the JDK 9 Javadoc javadocs, and noticed something that according to the package docs for jdk.javadoc.doclet, the successor to com.sun.javadoc.Type class is javax.lang.model.type.Type. This type doesn't seem to exist, though - everything seems to implement TypeMirror.

What am I missing here?

Thanks,
Sam

https://docs.oracle.com/javase/9/docs/api/jdk/javadoc/doclet/package-summary.html
https://docs.oracle.com/javase/9/docs/api/javax/lang/model/type/package-summary.html
http://hg.openjdk.java.net/jdk9/jdk9/langtools/annotate/b5d08bc0d224/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/package-info.java#l239
http://hg.openjdk.java.net/jdk9/jdk9/langtools/file/65bfdabaab9c/src/java.compiler/share/classes/javax/lang/model/type

Reply via email to