Modify move MethodFinder, ConstructorFinder, FieldFinder rules data to MethodRulesData, ConstructorRulesData, FieldRulesData and separate BaseFinder

This commit is contained in:
2022-09-05 01:13:29 +08:00
parent 1521c6be25
commit 17fe436760
16 changed files with 569 additions and 378 deletions

View File

@@ -64,7 +64,7 @@
[filename](public/FieldFinder.md ':include')
[filename](public/MemberBaseFinder-IndexTypeCondition.md ':include')
[filename](public/BaseFinder-IndexTypeCondition.md ':include')
[filename](public/ModifierRules.md ':include')

View File

@@ -1,4 +1,4 @@
## MemberBaseFinder.IndexTypeCondition *- class*
## BaseFinder.IndexTypeCondition *- class*
```kotlin
inner class IndexTypeCondition internal constructor(private val type: IndexConfigType)
@@ -8,10 +8,6 @@ inner class IndexTypeCondition internal constructor(private val type: IndexConfi
`v1.0.70` `新增`
`v1.0.93` `修改`
重命名 `BaseFinder``MemberBaseFinder`
**功能描述**
> 字节码下标筛选实现类。

View File

@@ -1,7 +1,7 @@
## ConstructorFinder *- class*
```kotlin
class ConstructorFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>) : BaseFinder()
class ConstructorFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>) : MemberBaseFinder
```
**变更记录**
@@ -14,7 +14,7 @@ class ConstructorFinder internal constructor(override val hookInstance: YukiMemb
`v1.0.93` `修改`
修正拼写错误的 **Creater** 命名到 **Creator**
合并到 `MemberBaseFinder`
**功能描述**
@@ -90,7 +90,7 @@ fun param(vararg paramType: Any): IndexTypeCondition
> 设置 `Constructor` 参数。
如果同时使用了 `paramCount``paramTypes` 的数量必须与 `paramCount` 完全匹配。
如果同时使用了 `paramCount``paramType` 的数量必须与 `paramCount` 完全匹配。
!> 无参 `Constructor` 请使用 `emptyParam` 设置查询条件。

View File

@@ -1,7 +1,7 @@
## FieldFinder *- class*
```kotlin
class FieldFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>?) : BaseFinder()
class FieldFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>?) : MemberBaseFinder
```
**变更记录**
@@ -12,6 +12,10 @@ class FieldFinder internal constructor(override val hookInstance: YukiMemberHook
合并到 `BaseFinder`
`v1.0.93` `修改`
合并到 `MemberBaseFinder`
**功能描述**
> `Field` 查找类。

View File

@@ -1,7 +1,7 @@
## MethodFinder *- class*
```kotlin
class MethodFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>) : BaseFinder()
class MethodFinder internal constructor(override val hookInstance: YukiMemberHookCreator.MemberHookCreator?, override val classSet: Class<*>) : MemberBaseFinder
```
**变更记录**
@@ -12,6 +12,10 @@ class MethodFinder internal constructor(override val hookInstance: YukiMemberHoo
合并到 `BaseFinder`
`v1.0.93` `修改`
合并到 `MemberBaseFinder`
**功能描述**
> `Method` 查找类。
@@ -120,7 +124,7 @@ fun param(vararg paramType: Any): IndexTypeCondition
> 设置 `Method` 参数。
如果同时使用了 `paramCount``paramTypes` 的数量必须与 `paramCount` 完全匹配。
如果同时使用了 `paramCount``paramType` 的数量必须与 `paramCount` 完全匹配。
!> 无参 `Method` 请使用 `emptyParam` 设置查询条件。