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 ASM x 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. 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)Overrides jdk. |
public void | visitMainClass(final String
the internal name of the main class of the current module. mainClass)Overrides jdk. |
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)Overrides jdk. |
public void | visitPackage(final String
the internal name of a package. packaze)Overrides jdk. |
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)Overrides jdk. |
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 jdk. |
public void | visitUse(final String
the internal name of the service. service)Overrides jdk. |
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 jdk. Doc from jdk. Visit an exported package of the current module.
|
visitMainClass | back to summary |
---|---|
public void visitMainClass(final String mainClass) Overrides jdk. Doc from jdk. 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 jdk. Doc from jdk. Visit an open package of the current module.
|
visitPackage | back to summary |
---|---|
public void visitPackage(final String packaze) Overrides jdk. Doc from jdk. Visit a package of the current module. |
visitProvide | back to summary |
---|---|
public void visitProvide(final String service, final String... providers) Overrides jdk. Doc from jdk. Visit an implementation of a service. |
visitRequire | back to summary |
---|---|
public void visitRequire(final String module, final int access, final String version) Overrides jdk. Doc from jdk. Visits a dependence of the current module. |
visitUse | back to summary |
---|---|
public void visitUse(final String service) Overrides jdk. Doc from jdk. Visit a service used by the current module. The name must be the internal name of an interface or a class. |