| Modifier and Type | Field and Description |
|---|---|
| public int | access
The module's access flags, among |
| public List | exports
The packages exported by this module. |
| public String | mainClass
The internal name of the main class of this module (see |
| public String | name
The fully qualified name (using dots) of this module. |
| public List | opens
The packages opened by this module. |
| public List | packages
The internal name of the packages declared by this module (see |
| public List | provides
The services provided by this module. |
| public List | requires
The dependencies of this module. |
| public List | uses
The internal names of the services used by this module (see |
| public String | version
The version of this module. |
| Access | Constructor and Description |
|---|---|
| public | ModuleNode(final String
the fully qualified name (using dots) of the module. name, final int the module access flags, among access, final String ACC_OPEN, ACC_SYNTHETIC and ACC_MANDATED.the module version, or null. version)Constructs a |
| public | ModuleNode(final int
the ASM API version implemented by this visitor. Must be one of api, final String Opcodes#ASM6, Opcodes#ASM7, Opcodes#ASM8 or Opcodes#ASM9.the fully qualified name (using dots) of the module. name, final int the module access flags, among access, final String ACC_OPEN, ACC_SYNTHETIC and ACC_MANDATED.the module version, or null. version, final List<ModuleRequireNode> The dependencies of this module. May be null. requires, final List<ModuleExportNode> The packages exported by this module. May be null. exports, final List<ModuleOpenNode> The packages opened by this module. May be null. opens, final List<String> The internal names of the services used by this module (see uses, final List<ModuleProvideNode> org.). May be null.The services provided by this module. May be null. provides)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final ClassVisitor
a class visitor. classVisitor)Makes the given class visitor visit this module. |
| public void | visitEnd()
Overrides org. |
| public void | visitExport(final String
the internal name of the exported package (see packaze, final int Type#getInternalName()).the access flag of the exported package, valid values are among access, final String... ACC_SYNTHETIC and ACC_MANDATED.the fully qualified names (using dots) of the modules that can access the public
classes of the exported package, or null. modules)Overrides org. |
| public void | visitMainClass(final String
the internal name of the main class of the current module (see mainClass)Type#getInternalName()).Overrides org. |
| public void | visitOpen(final String
the internal name of the opened package (see packaze, final int Type#getInternalName()).the access flag of the opened package, valid values are among access, final String... ACC_SYNTHETIC and ACC_MANDATED.the fully qualified names (using dots) of the modules that can use deep
reflection to the classes of the open package, or null. modules)Overrides org. |
| public void | visitPackage(final String
the internal name of a package (see packaze)Type#getInternalName()).Overrides org. |
| public void | visitProvide(final String
the internal name of the service (see service, final String... Type#getInternalName()).the internal names (see providers)Type#getInternalName()) of the implementations
of the service (there is at least one provider).Overrides org. |
| public void | visitRequire(final String
the fully qualified name (using dots) of the dependence. module, final int the access flag of the dependence among access, final String ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED.the module version at compile time, or null. version)Overrides org. |
| public void | visitUse(final String
the internal name of the service (see service)Type#getInternalName()).Overrides org. |
| access | back to summary |
|---|---|
| public int access The module's access flags, among | |
| exports | back to summary |
|---|---|
| public List<ModuleExportNode> exports The packages exported by this module. May be null. | |
| mainClass | back to summary |
|---|---|
| public String mainClass The internal name of the main class of this module (see | |
| name | back to summary |
|---|---|
| public String name The fully qualified name (using dots) of this module. | |
| opens | back to summary |
|---|---|
| public List<ModuleOpenNode> opens The packages opened by this module. May be null. | |
| packages | back to summary |
|---|---|
| public List<String> packages The internal name of the packages declared by this module (see | |
| provides | back to summary |
|---|---|
| public List<ModuleProvideNode> provides The services provided by this module. May be null. | |
| requires | back to summary |
|---|---|
| public List<ModuleRequireNode> requires The dependencies of this module. May be null. | |
| uses | back to summary |
|---|---|
| public List<String> uses The internal names of the services used by this module (see | |
| version | back to summary |
|---|---|
| public String version The version of this module. May be null. | |
| ModuleNode | back to summary |
|---|---|
| public ModuleNode(final String name, final int access, final String version) Constructs a
| |
| ModuleNode | back to summary |
|---|---|
| public ModuleNode(final int api, final String name, final int access, final String version, final List<ModuleRequireNode> requires, final List<ModuleExportNode> exports, final List<ModuleOpenNode> opens, final List<String> uses, final List<ModuleProvideNode> provides) Constructs a
| |
| accept | back to summary |
|---|---|
| public void accept(final ClassVisitor classVisitor) Makes the given class visitor visit this module.
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides org. Doc from org. Visits the end of the module. This method, which is the last one to be called, is used to inform the visitor that everything have been visited.
| |
| visitExport | back to summary |
|---|---|
| public void visitExport(final String packaze, final int access, final String... modules) Overrides org. Doc from org. Visit an exported package of the current module.
| |
| visitMainClass | back to summary |
|---|---|
| public void visitMainClass(final String mainClass) Overrides org. Doc from org. Visit the main class of the current module.
| |
| visitOpen | back to summary |
|---|---|
| public void visitOpen(final String packaze, final int access, final String... modules) Overrides org. Doc from org. Visit an open package of the current module.
| |
| visitPackage | back to summary |
|---|---|
| public void visitPackage(final String packaze) Overrides org. Doc from org. Visit a package of the current module.
| |
| visitProvide | back to summary |
|---|---|
| public void visitProvide(final String service, final String... providers) Overrides org. Doc from org. Visit an implementation of a service.
| |
| visitRequire | back to summary |
|---|---|
| public void visitRequire(final String module, final int access, final String version) Overrides org. Doc from org. Visits a dependence of the current module. | |
| visitUse | back to summary |
|---|---|
| public void visitUse(final String service) Overrides org. Doc from org. Visit a service used by the current module. The name must be the internal name of an interface or a class.
| |