ResolvedModule defines the configuration
method to get the configuration that the resolved module is in. It defines
the reference method to get the reference to the
module's content.
Configuration#modules()
| Modifier and Type | Field and Description |
|---|---|
| private final Configuration | |
| private final ModuleReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Configuration | Returns: The configuration that this resolved module is inReturns the configuration that this resolved module is in. |
| pack-priv ModuleDescriptor | |
| public boolean | Returns: true if, and only if, the given object is a module
reference that is equal to this module referencethe object to which this object is to be compared ob)Overrides java. Tests this resolved module for equality with the given object. |
| public int | Returns: The hash-code value for this resolved moduleOverrides java. Computes a hash code for this resolved module. |
| public String | |
| public Set | Returns: A possibly-empty unmodifiable set of resolved modules that this resolved module readsReturns the set of resolved modules that this resolved module reads. |
| public ModuleReference | Returns: The reference to the module's contentReturns the reference to the module's content. |
| public String | Returns: A string describing this resolved moduleOverrides java. Returns a string describing this resolved module. |
| cf | back to summary |
|---|---|
| private final Configuration cf | |
| mref | back to summary |
|---|---|
| private final ModuleReference mref | |
| ResolvedModule | back to summary |
|---|---|
| pack-priv ResolvedModule(Configuration cf, ModuleReference mref) | |
| configuration | back to summary |
|---|---|
| public Configuration configuration() Returns the configuration that this resolved module is in.
| |
| descriptor | back to summary |
|---|---|
| pack-priv ModuleDescriptor descriptor() Returns the module descriptor. This convenience method is the equivalent to invoking:
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object ob) Overrides java. Tests this resolved module for equality with the given object. If the given object is not a This method satisfies the general contract of the | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Computes a hash code for this resolved module. The hash code is based upon the components of the resolved module
and satisfies the general contract of the
| |
| name | back to summary |
|---|---|
| public String name() Returns the module name. This convenience method is the equivalent to invoking:
| |
| reads | back to summary |
|---|---|
| public Set Returns the set of resolved modules that this resolved module reads. The readability relation is reflexive (every module reads itself). The set of resolved modules returned by this method does not include itself.
| |
| reference | back to summary |
|---|---|
| public ModuleReference reference() Returns the reference to the module's content.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string describing this resolved module. | |