Class ModuleExportNode


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

      • packaze

        public String packaze
        The internal name of the exported package.
      • access

        public int access
        The access flags (see Opcodes). Valid values are ACC_SYNTHETIC and ACC_MANDATED.
      • modules

        public List<String> modules
        The list of modules that can access this exported package, specified with fully qualified names (using dots). May be null.
    • Constructor Detail

      • ModuleExportNode

        public ModuleExportNode​(String packaze,
                                int access,
                                List<String> modules)
        Constructs a new ModuleExportNode.
        Parameters:
        packaze - the internal name of the exported package.
        access - the package access flags, one or more of ACC_SYNTHETIC and ACC_MANDATED.
        modules - a list of modules that can access this exported package, specified with fully qualified names (using dots).
    • Method Detail

      • accept

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