类 ModuleRemapper
java.lang.Object
cn.taketoday.bytecode.ModuleVisitor
cn.taketoday.bytecode.commons.ModuleRemapper
A
ModuleVisitor that remaps types with a Remapper.- 作者:
- Remi Forax
-
字段概要
字段从类继承的字段 cn.taketoday.bytecode.ModuleVisitor
mv -
构造器概要
构造器构造器说明ModuleRemapper(ModuleVisitor moduleVisitor, Remapper remapper) Constructs a newModuleRemapper. -
方法概要
修饰符和类型方法说明voidvisitExport(String packaze, int access, String... modules) Visit an exported package of the current module.voidvisitMainClass(String mainClass) Visit the main class of the current module.voidVisit an open package of the current module.voidvisitPackage(String packaze) Visit a package of the current module.voidvisitProvide(String service, String... providers) Visit an implementation of a service.voidvisitRequire(String module, int access, String version) Visits a dependence of the current module.voidVisit a service used by the current module.从类继承的方法 cn.taketoday.bytecode.ModuleVisitor
visitEnd
-
字段详细资料
-
remapper
The remapper used to remap the types in the visited module.
-
-
构造器详细资料
-
ModuleRemapper
Constructs a newModuleRemapper.- 参数:
moduleVisitor- the module visitor this remapper must delegate to.remapper- the remapper to use to remap the types in the visited module.
-
-
方法详细资料
-
visitMainClass
从类复制的说明:ModuleVisitorVisit the main class of the current module.- 覆盖:
visitMainClass在类中ModuleVisitor- 参数:
mainClass- the internal name of the main class of the current module.
-
visitPackage
从类复制的说明:ModuleVisitorVisit a package of the current module.- 覆盖:
visitPackage在类中ModuleVisitor- 参数:
packaze- the internal name of a package.
-
visitRequire
从类复制的说明:ModuleVisitorVisits a dependence of the current module.- 覆盖:
visitRequire在类中ModuleVisitor- 参数:
module- the fully qualified name (using dots) of the dependence.access- the access flag of the dependence amongACC_TRANSITIVE,ACC_STATIC_PHASE,ACC_SYNTHETICandACC_MANDATED.version- the module version at compile time, or null.
-
visitExport
从类复制的说明:ModuleVisitorVisit an exported package of the current module.- 覆盖:
visitExport在类中ModuleVisitor- 参数:
packaze- the internal name of the exported package.access- the access flag of the exported package, valid values are amongACC_SYNTHETICandACC_MANDATED.modules- the fully qualified names (using dots) of the modules that can access the public classes of the exported package, or null.
-
visitOpen
从类复制的说明:ModuleVisitorVisit an open package of the current module.- 覆盖:
visitOpen在类中ModuleVisitor- 参数:
packaze- the internal name of the opened package.access- the access flag of the opened package, valid values are amongACC_SYNTHETICandACC_MANDATED.modules- the fully qualified names (using dots) of the modules that can use deep reflection to the classes of the open package, or null.
-
visitUse
从类复制的说明:ModuleVisitorVisit a service used by the current module. The name must be the internal name of an interface or a class.- 覆盖:
visitUse在类中ModuleVisitor- 参数:
service- the internal name of the service.
-
visitProvide
从类复制的说明:ModuleVisitorVisit an implementation of a service.- 覆盖:
visitProvide在类中ModuleVisitor- 参数:
service- the internal name of the service.providers- the internal names of the implementations of the service (there is at least one provider).
-