Package org.objectweb.asm.tree
Class ModuleExportNode
java.lang.Object
org.objectweb.asm.tree.ModuleExportNode
A node that represents an exported package with its name and the module that can access to it.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModuleExportNode(String packaze, int access, List<String> modules) Constructs a newModuleExportNode. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.objectweb.asm.ModuleVisitor moduleVisitor) Makes the given module visitor visit this export declaration.
-
Field Details
-
packaze
The internal name of the exported package (seeType.getInternalName()). -
access
public int accessThe access flags (seeOpcodes). Valid values areACC_SYNTHETICandACC_MANDATED. -
modules
The list of modules that can access this exported package, specified with fully qualified names (using dots). May be null.
-
-
Constructor Details
-
ModuleExportNode
Constructs a newModuleExportNode.- Parameters:
packaze- the internal name of the exported package (seeType.getInternalName()).access- the package access flags, one or more ofACC_SYNTHETICandACC_MANDATED.modules- a list of modules that can access this exported package, specified with fully qualified names (using dots).
-
-
Method Details
-
accept
public void accept(org.objectweb.asm.ModuleVisitor moduleVisitor) Makes the given module visitor visit this export declaration.- Parameters:
moduleVisitor- a module visitor.
-