mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Modify change code note in ReflectionTool
This commit is contained in:
@@ -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<*>?,
|
||||
|
Reference in New Issue
Block a user