Class ModuleExportNode


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

      Fields 
      Modifier and Type Field Description
      int access
      The access flags (see Opcodes).
      java.util.List<java.lang.String> modules
      The list of modules that can access this exported package, specified with fully qualified names (using dots).
      java.lang.String packaze
      The internal name of the exported package.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(org.objectweb.asm.ModuleVisitor moduleVisitor)
      Makes the given module visitor visit this export declaration.
      • 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 exported package.
      • access

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

        public java.util.List<java.lang.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​(java.lang.String packaze,
                                int access,
                                java.util.List<java.lang.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​(org.objectweb.asm.ModuleVisitor moduleVisitor)
        Makes the given module visitor visit this export declaration.
        Parameters:
        moduleVisitor - a module visitor.