X Jia
09/17/2026, 4:09 PMfun DeclarationDescriptor.findPsi(): PsiElement? {...}
interface SyntheticResolveExtension { ... }
any guidance on how to migrate?
Basically, I have
a function:
inline fun ClassDescriptor.hasInterfacePsi(interfaces: Set<String>): Boolean {
return this.findPsi()?.hasInterface(interfaces) ?: false
}
2 classes deriving from SyntheticResolveExtension:
class RealmModelSyntheticCompanionExtension : SyntheticResolveExtension
class RealmModelSyntheticMethodsExtension : SyntheticResolveExtension
So guess I have migrate away from these?
the project source is:
<https://github.com/XilinJia/krdb>dmitriy.novozhilov
09/17/2026, 5:18 PMSyntheticResolveExtension is part of K1 compiler which is not supported anymore.
You should drop these extensions from your plugin completely.dmitriy.novozhilov
09/17/2026, 5:18 PMX Jia
09/17/2026, 5:20 PMfindPsi()dmitriy.novozhilov
09/17/2026, 7:40 PMX Jia
09/18/2026, 3:57 PM