| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv URI | location()
Returns the location of the module if this named package is in a named module; otherwise, returns null. |
| pack-priv Module | |
| pack-priv String | |
| pack-priv static Package |
| module | back to summary |
|---|---|
| private final Module module | |
| name | back to summary |
|---|---|
| private final String name | |
| NamedPackage | back to summary |
|---|---|
| pack-priv NamedPackage(String pn, Module module) | |
| location | back to summary |
|---|---|
| pack-priv URI location() Returns the location of the module if this named package is in a named module; otherwise, returns null. | |
| module | back to summary |
|---|---|
| pack-priv Module module() Returns the module of this named package. | |
| packageName | back to summary |
|---|---|
| pack-priv String packageName() Returns the name of this package. | |
| toPackage | back to summary |
|---|---|
| pack-priv static Package toPackage(String name, Module module) Creates a Package object of the given name and module. | |