Added paramCount { ... } function in MethodFinder and ConstructorFinder

This commit is contained in:
2022-09-11 23:37:45 +08:00
parent 42462938c3
commit bc03f14ba5
7 changed files with 109 additions and 3 deletions

View File

@@ -136,6 +136,24 @@ fun paramCount(numRange: IntRange): IndexTypeCondition
!> 存在多个 `IndexTypeCondition` 时除了 `order` 只会生效最后一个。
### paramCount *- method*
```kotlin
fun paramCount(conditions: IntConditions): IndexTypeCondition
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 设置 `Constructor` 参数个数条件。
你可以不使用 `param` 指定参数类型而是仅使用此方法指定参数个数条件。
!> 存在多个 `IndexTypeCondition` 时除了 `order` 只会生效最后一个。
### superClass *- method*
```kotlin

View File

@@ -220,6 +220,24 @@ fun paramCount(numRange: IntRange): IndexTypeCondition
!> 存在多个 `IndexTypeCondition` 时除了 `order` 只会生效最后一个。
### paramCount *- method*
```kotlin
fun paramCount(conditions: IntConditions): IndexTypeCondition
```
**变更记录**
`v1.0.93` `新增`
**功能描述**
> 设置 `Method` 参数个数条件。
你可以不使用 `param` 指定参数类型而是仅使用此方法指定参数个数条件。
!> 存在多个 `IndexTypeCondition` 时除了 `order` 只会生效最后一个。
### returnType *- method*
```kotlin