--- old/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java 2020-07-07 19:00:50.210059332 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java 2020-07-07 19:00:49.854059332 -0700 @@ -121,7 +121,7 @@ * Returns the fully qualified name of this type element. * More precisely, it returns the canonical name. * For local and anonymous classes, which do not have canonical names, - * an empty name is returned. + * an {@linkplain Name#isEmpty() empty name} is returned. * *

The name of a generic type does not include any reference * to its formal type parameters. @@ -141,7 +141,7 @@ /** * Returns the simple name of this type element. * - * For an anonymous class, an empty name is returned. + * For an anonymous class, an {@linkplain Name#isEmpty() empty name} is returned. * * @return the simple name of this class or interface, * an empty name for an anonymous class