mirror of
https://github.com/HighCapable/KavaRef.git
synced 2025-09-05 10:15:22 +08:00
refactor: remove useless function in KavaRef
This commit is contained in:
@@ -66,14 +66,6 @@ class KavaRef private constructor() {
|
||||
@JvmSynthetic
|
||||
fun <T : Any> KClass<T>.resolve() = MemberScope(java.createConfiguration())
|
||||
|
||||
/**
|
||||
* Create a [MemberScope] with a block to start a new reflection.
|
||||
* @receiver the [KClass.java] to be reflected.
|
||||
* @param block the block to configure the [MemberScope].
|
||||
* @return [MemberScope]
|
||||
*/
|
||||
inline fun <T : Any> KClass<T>.resolve(block: MemberScope<T>.() -> Unit) = resolve().apply(block)
|
||||
|
||||
/**
|
||||
* Create a [MemberScope] instance to start a new reflection.
|
||||
* @receiver the [Class] to be reflected.
|
||||
|
Reference in New Issue
Block a user