Class ModuleOpenNode


  • public class ModuleOpenNode
    extends java.lang.Object
    A node that represents an opened package with its name and the module that can access it.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int access
      The access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
      java.util.List<java.lang.String> modules
      The fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
      java.lang.String packaze
      The internal name of the opened package.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuleOpenNode​(java.lang.String packaze, int access, java.util.List<java.lang.String> modules)
      Constructs a new ModuleOpenNode.
    • Method Summary

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

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

      • packaze

        public java.lang.String packaze
        The internal name of the opened package.
      • access

        public int access
        The access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
      • modules

        public java.util.List<java.lang.String> modules
        The fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
    • Constructor Detail

      • ModuleOpenNode

        public ModuleOpenNode​(java.lang.String packaze,
                              int access,
                              java.util.List<java.lang.String> modules)
        Constructs a new ModuleOpenNode.
        Parameters:
        packaze - the internal name of the opened package.
        access - the access flag of the opened package, valid values are among ACC_SYNTHETIC and ACC_MANDATED.
        modules - the fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
    • Method Detail

      • accept

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