public interface JavaModuleDescriptor
Modifier and Type | Interface and Description |
---|---|
static interface |
JavaModuleDescriptor.JavaExports
Represents the following ModuleStatement:
exports SOURCE [to TARGET{, TARGET}];
where SOURCE matches a PackageName and TARGET matches a ModuleName |
static interface |
JavaModuleDescriptor.JavaOpens
Represents the following ModuleStatement:
opens SOURCE [to TARGET{, TARGET}];
where SOURCE matches a PackageName and TARGET matches a ModuleName |
static interface |
JavaModuleDescriptor.JavaProvides
Represents the following ModuleStatement:
provides SERVICE with PROVIDER;
where SERVICE matches a TypeName and TARGET matches a TypeName |
static interface |
JavaModuleDescriptor.JavaRequires
Represents the following ModuleStatement:
requires [public] [static] NAME;
Where NAME matches a ModuleName |
static interface |
JavaModuleDescriptor.JavaUses
Represents the following ModuleStatement:
uses NAME;
Where NAME matches a TypeName |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<JavaModuleDescriptor.JavaExports> |
getExports() |
java.lang.String |
getName() |
java.util.Collection<JavaModuleDescriptor.JavaOpens> |
getOpens() |
java.util.Collection<JavaModuleDescriptor.JavaProvides> |
getProvides() |
java.util.Collection<JavaModuleDescriptor.JavaRequires> |
getRequires() |
java.util.Collection<JavaModuleDescriptor.JavaUses> |
getUses() |
boolean |
isOpen() |
boolean isOpen()
java.lang.String getName()
java.util.Collection<JavaModuleDescriptor.JavaExports> getExports()
java.util.Collection<JavaModuleDescriptor.JavaOpens> getOpens()
java.util.Collection<JavaModuleDescriptor.JavaProvides> getProvides()
java.util.Collection<JavaModuleDescriptor.JavaRequires> getRequires()
java.util.Collection<JavaModuleDescriptor.JavaUses> getUses()