Example usage for Java java.lang Module fields, constructors, methods, implement or subclass
The text is from its open source code.
String | name |
Module | |
Module(ClassLoader loader) Create the unnamed Module for the given ClassLoader. | |
Module(ModuleLayer layer, ClassLoader loader, ModuleDescriptor descriptor, URI uri) Creates a new named Module. | |
Module(ClassLoader loader, ModuleDescriptor descriptor) Creates a named module but without defining the module to the VM. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
ModuleDescriptor | getDescriptor() Returns the module descriptor for this module or null if this module is an unnamed module. |
String | getName() Returns the module name or null if this module is an unnamed module. |
String | toString() Returns the string representation of this module. |