< prev index next >

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

Print this page

        

*** 51,61 **** 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. * * @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 --- 51,61 ---- 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 {@linkplain Name#isEmpty() empty name} 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,78 **** */ Name getQualifiedName(); /** * Returns the simple name of this package. For an {@linkplain ! * #isUnnamed() unnamed package}, an empty name is returned. * * @return the simple name of this package or an empty name if * this is an unnamed package */ @Override --- 68,78 ---- */ Name getQualifiedName(); /** * Returns the simple name of this package. For an {@linkplain ! * #isUnnamed() unnamed package}, an {@linkplain Name#isEmpty() empty name} is returned. * * @return the simple name of this package or an empty name if * this is an unnamed package */ @Override
< prev index next >