Module org.eclipse.persistence.asm
Class ModuleProvideNode
- java.lang.Object
-
- org.eclipse.persistence.internal.libraries.asm.tree.ModuleProvideNode
-
public class ModuleProvideNode extends Object
A node that represents a service and its implementation provided by the current module.- Author:
- Remi Forax
-
-
Constructor Summary
Constructors Constructor Description ModuleProvideNode(String service, List<String> providers)Constructs a newModuleProvideNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ModuleVisitor moduleVisitor)Makes the given module visitor visit this require declaration.
-
-
-
Field Detail
-
service
public String service
The internal name of the service (seeType.getInternalName()).
-
providers
public List<String> providers
The internal names of the implementations of the service (there is at least one provider). SeeType.getInternalName().
-
-
Constructor Detail
-
ModuleProvideNode
public ModuleProvideNode(String service, List<String> providers)
Constructs a newModuleProvideNode.- Parameters:
service- the internal name of the service.providers- the internal names of the implementations of the service (there is at least one provider). SeeType.getInternalName().
-
-
Method Detail
-
accept
public void accept(ModuleVisitor moduleVisitor)
Makes the given module visitor visit this require declaration.- Parameters:
moduleVisitor- a module visitor.
-
-