ModuleVisitor that remaps types with a Remapper.
| Modifier and Type | Field and Description |
|---|---|
| protected final Remapper | remapper
The remapper used to remap the types in the visited module. |
| Access | Constructor and Description |
|---|---|
| public | ModuleRemapper(final ModuleVisitor
the module visitor this remapper must delegate to. moduleVisitor, final Remapper the remapper to use to remap the types in the visited module. remapper)Constructs a new |
| protected | ModuleRemapper(final int
the ASM API version supported by this remapper. Must be one of the api, final ModuleVisitor ASMx values in Opcodes.the module visitor this remapper must delegate to. moduleVisitor, final Remapper the remapper to use to remap the types in the visited module. remapper)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| 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)
Visit an exported package of the current module.
|
| public void | visitMainClass(final String
the internal name of the main class of the current module (see mainClass)Type#getInternalName()).Overrides net. |
| 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)
Visit an open package of the current module.
|
| public void | visitPackage(final String
the internal name of a package (see packaze)
Visit a package of the current module.
Type#getInternalName()). |
| public void | visitProvide(final String
the internal name of the service (see service, final String... Type#getInternalName()).the internal names (see providers)
Visit an implementation of a service.
Type#getInternalName()) of the implementations
of the service (there is at least one provider). |
| 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 | visitUse(final String
the internal name of the service (see service)Type#getInternalName()).Overrides net. |
| remapper | back to summary |
|---|---|
| protected final Remapper remapper The remapper used to remap the types in the visited module. | |
| ModuleRemapper | back to summary |
|---|---|
| public ModuleRemapper(final ModuleVisitor moduleVisitor, final Remapper remapper) Constructs a new
| |
| ModuleRemapper | back to summary |
|---|---|
| protected ModuleRemapper(final int api, final ModuleVisitor moduleVisitor, final Remapper remapper) Constructs a new
| |
| visitExport | back to summary |
|---|---|
| public void visitExport(final String packaze, final int access, final String... modules) Overrides net. Doc from net. Visit an exported package of the current module.
| |
| visitMainClass | back to summary |
|---|---|
| public void visitMainClass(final String mainClass) Overrides net. Doc from net. 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 net. Doc from net. Visit an open package of the current module.
| |
| visitPackage | back to summary |
|---|---|
| public void visitPackage(final String packaze) Overrides net. Doc from net. Visit a package of the current module.
| |
| visitProvide | back to summary |
|---|---|
| public void visitProvide(final String service, final String... providers) Overrides net. Doc from net. Visit an implementation of a service.
| |
| visitRequire | back to summary |
|---|---|
| public void visitRequire(final String module, final int access, final String version) Overrides net. Doc from net. Visits a dependence of the current module. | |
| visitUse | back to summary |
|---|---|
| public void visitUse(final String service) Overrides net. Doc from net. Visit a service used by the current module. The name must be the internal name of an interface or a class.
| |