This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.lang.model.element
interface PackageElement
- All Superinterfaces:
- Element
public interface PackageElement
extends Element
Represents a package program element. Provides access to information
about the package and its members.
Method Summary |
Name |
Returns the fully qualified name of this package.
|
boolean |
Returns is this is an unnamed package and otherwise.
|
Methods inherited from class javax.lang.model.element.Element |
accept, asType, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode |
getQualifiedName
public Name getQualifiedName()
-
Returns the fully qualified name of this package.
This is also known as the package's canonical name.
- Returns:
- the fully qualified name of this package, or an
empty name if this is an unnamed package
isUnnamed
public boolean isUnnamed()
-
Returns {@code true} is this is an unnamed package and {@code
false} otherwise.
- Returns:
- {@code true} is this is an unnamed package and {@code
false} otherwise
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.