Skip to content

Commit 7f8ad54

Browse files
fix jvmName --> qualifiedName
1 parent 9f3efe6 commit 7f8ad54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ktorm-ksp-compiler/src/main/kotlin/org/ktorm/ksp/compiler/util/KspExtensions.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import com.google.devtools.ksp.KspExperimental
2222
import com.google.devtools.ksp.isAnnotationPresent
2323
import com.google.devtools.ksp.symbol.*
2424
import com.google.devtools.ksp.visitor.KSValidateVisitor
25-
import kotlin.reflect.jvm.jvmName
2625

2726
/**
2827
* Return the resolved [KSType] of this property.
@@ -54,7 +53,7 @@ internal fun KSType.isInline(): Boolean {
5453
* Check if this class is a subclass of [T].
5554
*/
5655
internal inline fun <reified T : Any> KSClassDeclaration.isSubclassOf(): Boolean {
57-
return findSuperTypeReference(T::class.jvmName) != null
56+
return findSuperTypeReference(T::class.qualifiedName!!) != null
5857
}
5958

6059
/**

0 commit comments

Comments
 (0)