Class ModuleProvideNode


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

      Fields 
      Modifier and Type Field 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuleProvideNode​(java.lang.String service, java.util.List<java.lang.String> providers)
      Constructs a new ModuleProvideNode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(ModuleVisitor moduleVisitor)
      Makes the given module visitor visit this require declaration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • service

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

        public java.util.List<java.lang.String> providers
        The internal names of the implementations of the service (there is at least one provider).
    • Constructor Detail

      • ModuleProvideNode

        public ModuleProvideNode​(java.lang.String service,
                                 java.util.List<java.lang.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).
    • Method Detail

      • accept

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