- 所有已知实现类:
DefaultJavaModuleDescriptor
public interface JavaModuleDescriptor
-
嵌套类概要
嵌套类修饰符和类型接口说明static interfaceRepresents the following ModuleStatement:
exports SOURCE [to TARGET{, TARGET}];where SOURCE matches a PackageName and TARGET matches a ModuleNamestatic interfaceRepresents the following ModuleStatement:
opens SOURCE [to TARGET{, TARGET}];where SOURCE matches a PackageName and TARGET matches a ModuleNamestatic interfaceRepresents the following ModuleStatement:
provides SERVICE with PROVIDER;where SERVICE matches a TypeName and TARGET matches a TypeNamestatic interfaceRepresents the following ModuleStatement:
requires [public] [static] NAME;Where NAME matches a ModuleNamestatic interfaceRepresents the following ModuleStatement:
uses NAME;Where NAME matches a TypeName -
方法概要
-
方法详细资料
-
isOpen
boolean isOpen() -
getName
String getName() -
getExports
Collection<JavaModuleDescriptor.JavaExports> getExports() -
getOpens
Collection<JavaModuleDescriptor.JavaOpens> getOpens() -
getProvides
Collection<JavaModuleDescriptor.JavaProvides> getProvides() -
getRequires
Collection<JavaModuleDescriptor.JavaRequires> getRequires() -
getUses
Collection<JavaModuleDescriptor.JavaUses> getUses()
-