Modify canonical code comment "constructor" naming

This commit is contained in:
2022-07-28 00:08:51 +08:00
parent bff441b07e
commit 4f8c2759c0
9 changed files with 20 additions and 20 deletions

View File

@@ -10,7 +10,7 @@ class HookParam internal constructor(private val createrInstance: YukiMemberHook
**功能描述**
> Hook 方法、构造的目标对象实现类。
> Hook 方法、构造方法的目标对象实现类。
### args [field]

View File

@@ -550,7 +550,7 @@ inline fun HookClass.hook(isUseAppClassLoader: Boolean, initiate: YukiMemberHook
**功能描述**
> 这是一切 Hook 的入口创建方法Hook 方法、构造
> 这是一切 Hook 的入口创建方法Hook 方法、构造方法
**功能示例**

View File

@@ -314,7 +314,7 @@ inline fun Class<*>.constructor(initiate: ConstructorFinder.() -> Unit): Constru
**功能描述**
> 查找并得到构造
> 查找并得到构造方法
### ~~callStatic [method]~~ <!-- {docsify-ignore} -->

View File

@@ -96,11 +96,11 @@ inline fun injectMember(priority: Int, tag: String, initiate: MemberHookCreater.
**功能描述**
> 注入要 Hook 的方法、构造
> 注入要 Hook 的方法、构造方法
**功能示例**
你可以注入任意方法与构造,使用 `injectMember` 即可创建一个 `Hook` 对象。
你可以注入任意方法与构造方法,使用 `injectMember` 即可创建一个 `Hook` 对象。
> 示例如下
@@ -150,7 +150,7 @@ inner class MemberHookCreater internal constructor(private val priority: Int, in
**功能描述**
> Hook 核心功能实现类,查找和处理需要 Hook 的方法、构造
> Hook 核心功能实现类,查找和处理需要 Hook 的方法、构造方法
#### member [field]
@@ -164,7 +164,7 @@ var member: Member?
**功能描述**
> 手动指定要 Hook 的方法、构造
> 手动指定要 Hook 的方法、构造方法
!> 不建议使用此方法设置目标需要 Hook 的 `Member` 对象,你可以使用 `method``constructor` 方法。
@@ -398,7 +398,7 @@ inline fun HookParam.injectMember(priority: Int, tag: String, initiate: MemberHo
**功能描述**
> 注入要 Hook 的方法、构造 (嵌套 Hook)。
> 注入要 Hook 的方法、构造方法 (嵌套 Hook)。
#### beforeHook [method]