refactor: remove useless function in KavaRef

This commit is contained in:
2025-07-06 19:50:15 +08:00
parent 9e6e223d73
commit c0ce0ecc44

View File

@@ -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.