Java 9 module support
Closed this issue · 0 comments
JonathanxD commented
ModuleDeclaration module = ModuleDeclarationBuilder().builder()
.withName("my.module.name")
.withRequires("required_module"); // withRequires({module: ModuleDeclaration|String}[, modifier: CodeModifier])
.withExports("my.module") // withExports({module: ModuleDeclaration|String}[, to: List<ModuleDeclaration>]
.withUses("java.sql") // withUses({module: ModuleDeclaration|String})
.withProvides("my.module.Service", "my.module.ServiceImpl") // withProvides({type: CodeType|String?}, {impl: CodeType|String?})
.build()