Modify add allMembers function param type and add class MembersType in ReflectionFactory

This commit is contained in:
2022-08-12 01:00:01 +08:00
parent 293ae08b0e
commit dcc428270f
4 changed files with 86 additions and 10 deletions

View File

@@ -8,6 +8,62 @@
> 这是自定义 `Member` 和 `Class` 相关功能的查找匹配以及 `invoke` 的封装类。
### MembersType [class]
```kotlin
enum class MembersType
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 定义一个 `Class` 中的 `Member` 类型
#### ALL [enum]
```kotlin
ALL
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 全部 `Method` 与 `Constructor`。
#### METHOD [enum]
```kotlin
METHOD
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 全部 `Method`。
#### CONSTRUCTOR [enum]
```kotlin
CONSTRUCTOR
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 全部 `Constructor`。
### ~~hookClass [field]~~ <!-- {docsify-ignore} -->
**变更记录**