public class ModuleProvideNode
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.util.List<java.lang.String> |
providers |
The internal names of the implementations of the service (there is at least one provider).
|
java.lang.String |
service |
The internal name of the service.
|
Constructor | Description |
---|---|
ModuleProvideNode(java.lang.String service,
java.util.List<java.lang.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 java.lang.String service
public java.util.List<java.lang.String> providers
public ModuleProvideNode(java.lang.String service, java.util.List<java.lang.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.