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

@@ -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]