Class ModuleOpenNode


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

      • packaze

        public 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 List<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​(String packaze,
                              int access,
                              List<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.