类 ModuleProvideNode

java.lang.Object
cn.taketoday.bytecode.tree.ModuleProvideNode

public class ModuleProvideNode extends Object
A node that represents a service and its implementation provided by the current module.
作者:
Remi Forax
  • 字段详细资料

    • service

      public String service
      The internal name of the service.
    • providers

      public List<String> providers
      The internal names of the implementations of the service (there is at least one provider).
  • 构造器详细资料

    • ModuleProvideNode

      public ModuleProvideNode(String service, List<String> providers)
      Constructs a new ModuleProvideNode.
      参数:
      service - the internal name of the service.
      providers - the internal names of the implementations of the service (there is at least one provider).
  • 方法详细资料

    • accept

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