| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class | Module.
A normal module has a module-info.class |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final boolean | |
| private final ModuleDescriptor | |
| private final Map | |
| private final boolean | |
| pack-priv static final String | |
| private final URI | |
| private final Map | |
| pack-priv static final Module |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ModuleDescriptor | |
| public Map | |
| public Module | |
| public boolean | |
| public boolean | |
| public boolean | isExported(String pn, String target)
Tests if the package of the given name is exported to the target in a qualified fashion. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public URI | |
| public String | |
| public Set | |
| public Module | toNormalModule(Map<String, Boolean> requires)
Converts this module to a normal module with the given dependences |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| pack-priv static void | |
| pack-priv static void |
| DEBUG | back to summary |
|---|---|
| pack-priv static final boolean DEBUG | |
| descriptor | back to summary |
|---|---|
| private final ModuleDescriptor descriptor | |
| exports | back to summary |
|---|---|
| private final Map<String, Set<String>> exports | |
| isSystem | back to summary |
|---|---|
| private final boolean isSystem | |
| JDK_UNSUPPORTED | back to summary |
|---|---|
| pack-priv static final String JDK_UNSUPPORTED | |
| location | back to summary |
|---|---|
| private final URI location | |
| opens | back to summary |
|---|---|
| private final Map<String, Set<String>> opens | |
| UNNAMED_MODULE | back to summary |
|---|---|
| pack-priv static final Module UNNAMED_MODULE | |
| Module | back to summary |
|---|---|
| protected Module(String name) | |
| Module | back to summary |
|---|---|
| protected Module(String name, ModuleDescriptor descriptor, boolean isSystem) | |
| Module | back to summary |
|---|---|
| private Module(String name, URI location, ModuleDescriptor descriptor, Map<String, Set<String>> exports, Map<String, Set<String>> opens, boolean isSystem, ClassFileReader reader) | |
| descriptor | back to summary |
|---|---|
| public ModuleDescriptor descriptor() | |
| exports | back to summary |
|---|---|
| public Map | |
| getModule | back to summary |
|---|---|
| public Module getModule() Overrides com. | |
| isAutomatic | back to summary |
|---|---|
| public boolean isAutomatic() | |
| isExported | back to summary |
|---|---|
| public boolean isExported(String pn) Tests if the package of the given name is exported. | |
| isExported | back to summary |
|---|---|
| public boolean isExported(String pn, String target) Tests if the package of the given name is exported to the target in a qualified fashion. | |
| isJDK | back to summary |
|---|---|
| public boolean isJDK() | |
| isJDKUnsupported | back to summary |
|---|---|
| public boolean isJDKUnsupported() | |
| isNamed | back to summary |
|---|---|
| public boolean isNamed() | |
| isOpen | back to summary |
|---|---|
| public boolean isOpen(String pn) Tests if the package of the given name is open. | |
| isOpen | back to summary |
|---|---|
| public boolean isOpen(String pn, String target) Tests if the package of the given name is open to the target in a qualified fashion. | |
| isSystem | back to summary |
|---|---|
| public boolean isSystem() | |
| location | back to summary |
|---|---|
| public URI location() | |
| name | back to summary |
|---|---|
| public String name() Returns module name | |
| packages | back to summary |
|---|---|
| public Set | |
| toNormalModule | back to summary |
|---|---|
| public Module toNormalModule(Map<String, Boolean> requires) Converts this module to a normal module with the given dependences
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| trace | back to summary |
|---|---|
| pack-priv static void trace(String fmt, Object... args) | |
| trace | back to summary |
|---|---|
| pack-priv static void trace(boolean traceOn, String fmt, Object... args) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ModuleDescriptor | |
| pack-priv final boolean | |
| pack-priv URI | |
| pack-priv final String | |
| pack-priv ClassFileReader |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Module | |
| public Module. | |
| public Module. |
| descriptor | back to summary |
|---|---|
| pack-priv final ModuleDescriptor descriptor | |
| isSystem | back to summary |
|---|---|
| pack-priv final boolean isSystem | |
| location | back to summary |
|---|---|
| pack-priv URI location | |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| reader | back to summary |
|---|---|
| pack-priv ClassFileReader reader | |
| Builder | back to summary |
|---|---|
| public Builder(ModuleDescriptor md) | |
| Builder | back to summary |
|---|---|
| public Builder(ModuleDescriptor md, boolean isSystem) | |
| build | back to summary |
|---|---|
| public Module build() | |
| classes | back to summary |
|---|---|
| public Module. | |
| location | back to summary |
|---|---|
| public Module. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ModuleDescriptor |
| Access | Constructor and Description |
|---|---|
| private | NormalModule(Module m, Map<String, Boolean> requires)
Converts the given automatic module to a normal module. |
| Modifier and Type | Method and Description |
|---|---|
| public ModuleDescriptor |
| md | back to summary |
|---|---|
| private final ModuleDescriptor md | |
| NormalModule | back to summary |
|---|---|
| private NormalModule(Module m, Map<String, Boolean> requires) Converts the given automatic module to a normal module. Replace this module's dependences with the given requires and also declare service providers, if specified in META-INF/services configuration file | |
| descriptor | back to summary |
|---|---|
| public ModuleDescriptor descriptor() Overrides com.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isExported(String pn)
Overrides com. Tests if the package of the given name is exported. |
| public String |
| UnnamedModule | back to summary |
|---|---|
| private UnnamedModule() | |
| isExported | back to summary |
|---|---|
| public boolean isExported(String pn) Overrides com. Doc from com. Tests if the package of the given name is exported.
| |
| name | back to summary |
|---|---|
| public String name() Overrides com. Doc from com. Returns module name
| |