< prev index next >

src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java

Print this page

        

@@ -51,11 +51,11 @@
     TypeMirror asType();
 
     /**
      * Returns the fully qualified name of this package.
      * This is also known as the package's <i>canonical</i> name.
-     * For an {@linkplain #isUnnamed() unnamed package}, an empty name is returned.
+     * For an {@linkplain #isUnnamed() unnamed package}, an <a href=Name.html#empty_name>empty name</a> is returned.
      *
      * @apiNote The fully qualified name of a named package that is
      * not a subpackage of a named package is its simple name. The
      * fully qualified name of a named package that is a subpackage of
      * another named package consists of the fully qualified name of

@@ -68,11 +68,11 @@
      */
     Name getQualifiedName();
 
     /**
      * Returns the simple name of this package.  For an {@linkplain
-     * #isUnnamed() unnamed package}, an empty name is returned.
+     * #isUnnamed() unnamed package}, an <a href=Name.html#empty_name>empty name</a> is returned.
      *
      * @return the simple name of this package or an empty name if
      * this is an unnamed package
      */
     @Override
< prev index next >