now all reflection support methods are internal

This commit is contained in:
InsanusMokrassar 2020-02-13 12:57:41 +06:00
parent ea29a801fd
commit 25ea1e2a11

View File

@ -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()