public class ModuleProvideNode extends Object
Modifier and Type | Field | Description |
---|---|---|
List<String> |
providers |
The internal names of the implementations of the service (there is at least one provider).
|
String |
service |
The internal name of the service.
|
Constructor | Description |
---|---|
ModuleProvideNode(String service,
List<String> providers) |
Constructs a new
ModuleProvideNode . |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(ModuleVisitor moduleVisitor) |
Makes the given module visitor visit this require declaration.
|
public String service
public ModuleProvideNode(String service, List<String> providers)
ModuleProvideNode
.service
- the internal name of the service.providers
- the internal names of the implementations of the service (there is at least
one provider).public void accept(ModuleVisitor moduleVisitor)
moduleVisitor
- a module visitor.