Class ModuleProvideNode

java.lang.Object
org.objectweb.asm.tree.ModuleProvideNode

public class ModuleProvideNode extends Object
A node that represents a service and its implementation provided by the current module.
  • Field Details

  • Constructor Details

    • ModuleProvideNode

      public ModuleProvideNode(String service, List<String> providers)
      Constructs a new ModuleProvideNode.
      Parameters:
      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().
  • Method Details

    • accept

      public void accept(ModuleVisitor moduleVisitor)
      Makes the given module visitor visit this require declaration.
      Parameters:
      moduleVisitor - a module visitor.