From be0c5039396b8b8fe096e0a7576b9732c5fbf63a Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Wed, 7 Sep 2022 00:21:24 +0800 Subject: [PATCH] Modify change code note in ReflectionTool --- .../hook/core/reflex/tools/ReflectionTool.kt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt index 33dee73c..3d2aa9e0 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/reflex/tools/ReflectionTool.kt @@ -81,14 +81,14 @@ internal object ReflectionTool { } /** - * 查找任意变量或一组变量 - * @param classSet 变量所在类 + * 查找任意 [Field] 或一组 [Field] + * @param classSet [Field] 所在类 * @param orderIndex 字节码顺序下标 * @param matchIndex 字节码筛选下标 * @param rulesData 规则查询数据 * @return [HashSet]<[Field]> * @throws IllegalStateException 如果 [classSet] 为 null 或未设置任何条件或 [FieldRulesData.type] 目标类不存在 - * @throws NoSuchFieldError 如果找不到变量 + * @throws NoSuchFieldError 如果找不到 [Field] */ internal fun findFields( classSet: Class<*>?, @@ -194,14 +194,14 @@ internal object ReflectionTool { } /** - * 查找任意方法或一组方法 - * @param classSet 方法所在类 + * 查找任意 [Method] 或一组 [Method] + * @param classSet [Method] 所在类 * @param orderIndex 字节码顺序下标 * @param matchIndex 字节码筛选下标 * @param rulesData 规则查询数据 * @return [HashSet]<[Method]> * @throws IllegalStateException 如果 [classSet] 为 null 或未设置任何条件或 [MethodRulesData.paramTypes] 以及 [MethodRulesData.returnType] 目标类不存在 - * @throws NoSuchMethodError 如果找不到方法 + * @throws NoSuchMethodError 如果找不到 [Method] */ internal fun findMethods( classSet: Class<*>?, @@ -357,14 +357,14 @@ internal object ReflectionTool { } /** - * 查找任意构造方法或一组构造方法 - * @param classSet 构造方法所在类 + * 查找任意 [Constructor] 或一组 [Constructor] + * @param classSet [Constructor] 所在类 * @param orderIndex 字节码顺序下标 * @param matchIndex 字节码筛选下标 * @param rulesData 规则查询数据 * @return [HashSet]<[Constructor]> * @throws IllegalStateException 如果 [classSet] 为 null 或未设置任何条件或 [ConstructorRulesData.paramTypes] 目标类不存在 - * @throws NoSuchMethodError 如果找不到构造方法 + * @throws NoSuchMethodError 如果找不到 [Constructor] */ internal fun findConstructors( classSet: Class<*>?,