visitMainClass | ( visitPackage | visitRequire | visitExport | visitOpen | visitUse | visitProvide )* ) visitEnd.
| Modifier and Type | Field and Description |
|---|---|
| protected final int | api
The ASM API version implemented by this visitor. |
| protected ModuleVisitor | mv
The module visitor to which this visitor must delegate method calls. |
| Access | Constructor and Description |
|---|---|
| protected | ModuleVisitor(final int
the ASM API version implemented by this visitor. Must be one of api)Opcodes#ASM6
or Opcodes#ASM7.Constructs a new |
| protected | ModuleVisitor(final int
the ASM API version implemented by this visitor. Must be one of api, final ModuleVisitor Opcodes#ASM6
or Opcodes#ASM7.the module visitor to which this visitor must delegate method calls. May
be null. moduleVisitor)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | visitExport(final String
the internal name of the exported package. packaze, final int 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)Visit an exported package of the current module. |
| public void | visitMainClass(final String
the internal name of the main class of the current module. mainClass)Visit the main class of the current module. |
| public void | visitOpen(final String
the internal name of the opened package. packaze, final int 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)Visit an open package of the current module. |
| public void | visitPackage(final String
the internal name of a package. packaze)Visit a package of the current module. |
| public void | visitProvide(final String
the internal name of the service. service, final String... the internal names of the implementations of the service (there is at least
one provider). providers)Visit an implementation of a service. |
| 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)Visits a dependence of the current module. |
| public void |
| api | back to summary |
|---|---|
| protected final int api The ASM API version implemented by this visitor. The value of this field must be one of | |
| mv | back to summary |
|---|---|
| protected ModuleVisitor mv The module visitor to which this visitor must delegate method calls. May be null. | |
| ModuleVisitor | back to summary |
|---|---|
| protected ModuleVisitor(final int api) Constructs a new
| |
| ModuleVisitor | back to summary |
|---|---|
| protected ModuleVisitor(final int api, final ModuleVisitor moduleVisitor) Constructs a new
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() 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) Visit an exported package of the current module.
| |
| visitMainClass | back to summary |
|---|---|
| public void visitMainClass(final String mainClass) Visit the main class of the current module.
| |
| visitOpen | back to summary |
|---|---|
| public void visitOpen(final String packaze, final int access, final String... modules) Visit an open package of the current module.
| |
| visitPackage | back to summary |
|---|---|
| public void visitPackage(final String packaze) Visit a package of the current module.
| |
| visitProvide | back to summary |
|---|---|
| public void visitProvide(final String service, final String... providers) Visit an implementation of a service. | |
| visitRequire | back to summary |
|---|---|
| public void visitRequire(final String module, final int access, final String version) Visits a dependence of the current module. | |
| visitUse | back to summary |
|---|---|
| public void visitUse(final String service) Visit a service used by the current module. The name must be the internal name of an interface or a class.
| |