langtools/src/share/classes/javax/lang/model/element/PackageElement.java
changeset 9303 eae35c201e19
parent 8233 fda68eae1504
child 11553 4389b722f8dc
equal deleted inserted replaced
9302:13a19cf713fd 9303:eae35c201e19
    41      * Returns the fully qualified name of this package.
    41      * Returns the fully qualified name of this package.
    42      * This is also known as the package's <i>canonical</i> name.
    42      * This is also known as the package's <i>canonical</i> name.
    43      *
    43      *
    44      * @return the fully qualified name of this package, or an
    44      * @return the fully qualified name of this package, or an
    45      * empty name if this is an unnamed package
    45      * empty name if this is an unnamed package
    46      * @jls3 6.7 Fully Qualified Names and Canonical Names
    46      * @jls 6.7 Fully Qualified Names and Canonical Names
    47      */
    47      */
    48     Name getQualifiedName();
    48     Name getQualifiedName();
    49 
    49 
    50     /**
    50     /**
    51      * Returns the simple name of this package.  For an unnamed
    51      * Returns the simple name of this package.  For an unnamed
    61      * Returns {@code true} is this is an unnamed package and {@code
    61      * Returns {@code true} is this is an unnamed package and {@code
    62      * false} otherwise.
    62      * false} otherwise.
    63      *
    63      *
    64      * @return {@code true} is this is an unnamed package and {@code
    64      * @return {@code true} is this is an unnamed package and {@code
    65      * false} otherwise
    65      * false} otherwise
    66      * @jls3 7.4.2 Unnamed Packages
    66      * @jls 7.4.2 Unnamed Packages
    67      */
    67      */
    68     boolean isUnnamed();
    68     boolean isUnnamed();
    69 
    69 
    70     /**
    70     /**
    71      * Returns {@code null} since a package is not enclosed by another
    71      * Returns {@code null} since a package is not enclosed by another