mirror of
https://github.com/InsanusMokrassar/SDI.git
synced 2024-11-23 18:48:52 +00:00
now all reflection support methods are internal
This commit is contained in:
parent
ea29a801fd
commit
25ea1e2a11
@ -3,7 +3,7 @@ package com.insanusmokrassar.sdi.utils
|
||||
import kotlinx.serialization.*
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
expect fun resolveKClassByPackageName(packageName: String): KClass<*>
|
||||
internal expect fun resolveKClassByPackageName(packageName: String): KClass<*>
|
||||
|
||||
@ImplicitReflectionSerializer
|
||||
internal fun <T : Any> resolveSerializerByKClass(kClass: KClass<T>): KSerializer<T> = kClass.serializer()
|
||||
|
Loading…
Reference in New Issue
Block a user