public class ModuleProvideNode
extends java.lang.Object
| Modifier and Type | Field and 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 (see
Type.getInternalName()). |
| Constructor and Description |
|---|
ModuleProvideNode(java.lang.String service,
java.util.List<java.lang.String> providers)
Constructs a new
ModuleProvideNode. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModuleVisitor moduleVisitor)
Makes the given module visitor visit this require declaration.
|
public java.lang.String service
Type.getInternalName()).public java.util.List<java.lang.String> providers
Type.getInternalName().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). See Type.getInternalName().public void accept(ModuleVisitor moduleVisitor)
moduleVisitor - a module visitor.