mirror of
https://github.com/InsanusMokrassar/SDI.git
synced 2024-11-27 12:38:55 +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 kotlinx.serialization.*
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
expect fun resolveKClassByPackageName(packageName: String): KClass<*>
|
internal expect fun resolveKClassByPackageName(packageName: String): KClass<*>
|
||||||
|
|
||||||
@ImplicitReflectionSerializer
|
@ImplicitReflectionSerializer
|
||||||
internal fun <T : Any> resolveSerializerByKClass(kClass: KClass<T>): KSerializer<T> = kClass.serializer()
|
internal fun <T : Any> resolveSerializerByKClass(kClass: KClass<T>): KSerializer<T> = kClass.serializer()
|
||||||
|
Loading…
Reference in New Issue
Block a user