mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Modify merge finder lambda to typealias
This commit is contained in:
@@ -165,7 +165,7 @@ inner class RemedyPlan internal constructor()
|
||||
#### constructor [method]
|
||||
|
||||
```kotlin
|
||||
inline fun constructor(initiate: ConstructorFinder.() -> Unit)
|
||||
inline fun constructor(initiate: ConstructorCondition)
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
@@ -33,7 +33,7 @@ fun superClass(): SuperClass
|
||||
### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
inline fun field(initiate: FieldCondition): FieldFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -47,7 +47,7 @@ inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
inline fun method(initiate: MethodCondition): MethodFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -75,7 +75,7 @@ inner class SuperClass internal constructor()
|
||||
#### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
inline fun field(initiate: FieldCondition): FieldFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -89,7 +89,7 @@ inline fun field(initiate: FieldFinder.() -> Unit): FieldFinder.Result.Instance
|
||||
#### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result.Instance
|
||||
inline fun method(initiate: MethodCondition): MethodFinder.Result.Instance
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
@@ -185,7 +185,7 @@ inner class RemedyPlan internal constructor()
|
||||
#### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun field(initiate: FieldFinder.() -> Unit): Result
|
||||
inline fun field(initiate: FieldCondition): Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
@@ -267,7 +267,7 @@ inner class RemedyPlan internal constructor()
|
||||
#### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): Result
|
||||
inline fun method(initiate: MethodCondition): Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
@@ -170,7 +170,7 @@ if("com.example.demo.DemoClass".hasClass(customClassloader)) {
|
||||
### hasField [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.hasField(initiate: FieldFinder.() -> Unit): Boolean
|
||||
inline fun Class<*>.hasField(initiate: FieldCondition): Boolean
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -192,7 +192,7 @@ inline fun Class<*>.hasField(initiate: FieldFinder.() -> Unit): Boolean
|
||||
### hasMethod [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.hasMethod(initiate: MethodFinder.() -> Unit): Boolean
|
||||
inline fun Class<*>.hasMethod(initiate: MethodCondition): Boolean
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -218,7 +218,7 @@ inline fun Class<*>.hasMethod(initiate: MethodFinder.() -> Unit): Boolean
|
||||
### hasConstructor [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.hasConstructor(initiate: ConstructorFinder.() -> Unit): Boolean
|
||||
inline fun Class<*>.hasConstructor(initiate: ConstructorCondition): Boolean
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -290,7 +290,7 @@ inline fun Member.hasModifiers(initiate: ModifierRules.() -> Unit): Boolean
|
||||
### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.field(initiate: FieldFinder.() -> Unit): FieldFinder.Result
|
||||
inline fun Class<*>.field(initiate: FieldCondition): FieldFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -308,7 +308,7 @@ inline fun Class<*>.field(initiate: FieldFinder.() -> Unit): FieldFinder.Result
|
||||
### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.method(initiate: MethodFinder.() -> Unit): MethodFinder.Result
|
||||
inline fun Class<*>.method(initiate: MethodCondition): MethodFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -336,7 +336,7 @@ inline fun Class<*>.method(initiate: MethodFinder.() -> Unit): MethodFinder.Resu
|
||||
### constructor [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.constructor(initiate: ConstructorFinder.() -> Unit): ConstructorFinder.Result
|
||||
inline fun Class<*>.constructor(initiate: ConstructorCondition): ConstructorFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -408,7 +408,7 @@ inline fun <reified T : Any> T.current(): CurrentClass
|
||||
### buildOfAny [method]
|
||||
|
||||
```kotlin
|
||||
inline fun Class<*>.buildOfAny(vararg param: Any?, initiate: ConstructorFinder.() -> Unit): Any?
|
||||
inline fun Class<*>.buildOfAny(vararg param: Any?, initiate: ConstructorCondition): Any?
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -426,7 +426,7 @@ inline fun Class<*>.buildOfAny(vararg param: Any?, initiate: ConstructorFinder.(
|
||||
### buildOf [method]
|
||||
|
||||
```kotlin
|
||||
inline fun <T> Class<*>.buildOf(vararg param: Any?, initiate: ConstructorFinder.() -> Unit): T?
|
||||
inline fun <T> Class<*>.buildOf(vararg param: Any?, initiate: ConstructorCondition): T?
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
@@ -251,7 +251,7 @@ fun allMembers()
|
||||
#### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun method(initiate: MethodFinder.() -> Unit): MethodFinder.Result
|
||||
inline fun method(initiate: MethodCondition): MethodFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -287,7 +287,7 @@ injectMember {
|
||||
#### constructor [method]
|
||||
|
||||
```kotlin
|
||||
inline fun constructor(initiate: ConstructorFinder.() -> Unit): ConstructorFinder.Result
|
||||
inline fun constructor(initiate: ConstructorCondition): ConstructorFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -319,7 +319,7 @@ injectMember {
|
||||
#### field [method]
|
||||
|
||||
```kotlin
|
||||
inline fun HookParam.field(initiate: FieldFinder.() -> Unit): FieldFinder.Result
|
||||
inline fun HookParam.field(initiate: FieldCondition): FieldFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -359,7 +359,7 @@ injectMember {
|
||||
#### method [method]
|
||||
|
||||
```kotlin
|
||||
inline fun HookParam.method(initiate: MethodFinder.() -> Unit): MethodFinder.Result
|
||||
inline fun HookParam.method(initiate: MethodCondition): MethodFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
@@ -377,7 +377,7 @@ inline fun HookParam.method(initiate: MethodFinder.() -> Unit): MethodFinder.Res
|
||||
#### constructor [method]
|
||||
|
||||
```kotlin
|
||||
inline fun HookParam.constructor(initiate: ConstructorFinder.() -> Unit): ConstructorFinder.Result
|
||||
inline fun HookParam.constructor(initiate: ConstructorCondition): ConstructorFinder.Result
|
||||
```
|
||||
|
||||
**变更记录**
|
||||
|
Reference in New Issue
Block a user