package-info.java.
Obtaining the set of members present in this package is not possible.
| Modifier and Type | Method and Description |
|---|---|
| public default PackageInfo | asPackage()
Overrides default jakarta. Returns this declaration as a package. |
| public default DeclarationInfo. | kind()
Implements jakarta. Returns the kind of this declaration. |
| public String | Returns: fully qualified name of this package, nevernullReturns the fully qualified name of this package, as defined by The Java™ Language Specification;
in other words, the package name as returned by |
| asPackage | back to summary |
|---|---|
| public default PackageInfo asPackage() Overrides default jakarta. Doc from jakarta. Returns this declaration as a package.
| |
| kind | back to summary |
|---|---|
| public default DeclarationInfo. Implements jakarta. Doc from jakarta. Returns the kind of this declaration.
| |
| name | back to summary |
|---|---|
| public String name() Returns the fully qualified name of this package, as defined by The Java™ Language Specification;
in other words, the package name as returned by
| |