Package org.objectweb.asm.tree
Class ModuleProvideNode
java.lang.Object
org.objectweb.asm.tree.ModuleProvideNode
A node that represents a service and its implementation provided by the current module.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModuleProvideNode
(String service, List<String> providers) Constructs a newModuleProvideNode
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.objectweb.asm.ModuleVisitor moduleVisitor) Makes the given module visitor visit this require declaration.
-
Field Details
-
service
The internal name of the service (seeType.getInternalName()
). -
providers
The internal names of the implementations of the service (there is at least one provider). SeeType.getInternalName()
.
-
-
Constructor Details
-
ModuleProvideNode
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 Details
-
accept
public void accept(org.objectweb.asm.ModuleVisitor moduleVisitor) Makes the given module visitor visit this require declaration.- Parameters:
moduleVisitor
- a module visitor.
-