public interface IUpdatableModule
--add-reads
and --add-exports command line options (or corresponding classpath attributes).| Modifier and Type | Interface and Description |
|---|---|
static class |
IUpdatableModule.AddExports |
static class |
IUpdatableModule.AddReads |
static class |
IUpdatableModule.UpdateKind
The compiler first wires modules only, before then wiring packages based on the module graph.
|
static class |
IUpdatableModule.UpdatesByKind
Structure for update operations, sorted by
IUpdatableModule.UpdateKind. |
| Modifier and Type | Method and Description |
|---|---|
void |
addExports(char[] packageName,
char[][] targetModules)
Perform an --add-exports update on the module.
|
void |
addReads(char[] moduleName)
Perform an --add-reads update on the module.
|
char[] |
name()
Answer the name of the module to update.
|
void |
setMainClassName(char[] mainClassName)
Define the ModuleMainClass to be recorded in the generated module-info.class.
|
void |
setPackageNames(SimpleSetOfCharArray packageNames)
Passes names of packages to be recorded in the ModulePackages classfile attribute.
|
char[] name()
void addReads(char[] moduleName)
void addExports(char[] packageName,
char[][] targetModules)
void setMainClassName(char[] mainClassName)
void setPackageNames(SimpleSetOfCharArray packageNames)