mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 17:55:24 +08:00
Added code usage sample in MethodFinder and ConstructorFinder
This commit is contained in:
@@ -149,6 +149,12 @@ class ConstructorFinder @PublishedApi internal constructor(
|
|||||||
*
|
*
|
||||||
* 你可以不使用 [param] 指定参数类型而是仅使用此方法指定参数个数范围
|
* 你可以不使用 [param] 指定参数类型而是仅使用此方法指定参数个数范围
|
||||||
*
|
*
|
||||||
|
* 使用示例如下 ↓
|
||||||
|
*
|
||||||
|
* ```kotlin
|
||||||
|
* paramCount(1..5)
|
||||||
|
* ```
|
||||||
|
*
|
||||||
* - ❗存在多个 [BaseFinder.IndexTypeCondition] 时除了 [order] 只会生效最后一个
|
* - ❗存在多个 [BaseFinder.IndexTypeCondition] 时除了 [order] 只会生效最后一个
|
||||||
* @param numRange 个数范围
|
* @param numRange 个数范围
|
||||||
* @return [BaseFinder.IndexTypeCondition]
|
* @return [BaseFinder.IndexTypeCondition]
|
||||||
|
@@ -207,6 +207,12 @@ class MethodFinder @PublishedApi internal constructor(
|
|||||||
*
|
*
|
||||||
* 你可以不使用 [param] 指定参数类型而是仅使用此方法指定参数个数范围
|
* 你可以不使用 [param] 指定参数类型而是仅使用此方法指定参数个数范围
|
||||||
*
|
*
|
||||||
|
* 使用示例如下 ↓
|
||||||
|
*
|
||||||
|
* ```kotlin
|
||||||
|
* paramCount(1..5)
|
||||||
|
* ```
|
||||||
|
*
|
||||||
* - ❗存在多个 [BaseFinder.IndexTypeCondition] 时除了 [order] 只会生效最后一个
|
* - ❗存在多个 [BaseFinder.IndexTypeCondition] 时除了 [order] 只会生效最后一个
|
||||||
* @param numRange 个数范围
|
* @param numRange 个数范围
|
||||||
* @return [BaseFinder.IndexTypeCondition]
|
* @return [BaseFinder.IndexTypeCondition]
|
||||||
|
Reference in New Issue
Block a user