We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f3efe6 commit 7f8ad54Copy full SHA for 7f8ad54
ktorm-ksp-compiler/src/main/kotlin/org/ktorm/ksp/compiler/util/KspExtensions.kt
@@ -22,7 +22,6 @@ import com.google.devtools.ksp.KspExperimental
22
import com.google.devtools.ksp.isAnnotationPresent
23
import com.google.devtools.ksp.symbol.*
24
import com.google.devtools.ksp.visitor.KSValidateVisitor
25
-import kotlin.reflect.jvm.jvmName
26
27
/**
28
* Return the resolved [KSType] of this property.
@@ -54,7 +53,7 @@ internal fun KSType.isInline(): Boolean {
54
53
* Check if this class is a subclass of [T].
55
*/
56
internal inline fun <reified T : Any> KSClassDeclaration.isSubclassOf(): Boolean {
57
- return findSuperTypeReference(T::class.jvmName) != null
+ return findSuperTypeReference(T::class.qualifiedName!!) != null
58
}
59
60
0 commit comments