[kotlin] Make 'KotlinPrimeSymbolNameIndex' a class (KTIJ-24475)

Extensions are instantiated by the platform, breaking the objects' singleton contract.

GitOrigin-RevId: 2ac5d1e982a9e10e9e98ea1ce431300bc54cb283
This commit is contained in:
Yan Zhulanow
2023-02-15 01:45:39 +09:00
committed by intellij-monorepo-bot
parent fb88134cbf
commit 1c67d8a114
3 changed files with 7 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ public class IdeStubIndexService extends StubIndexService {
}
if (prime) {
sink.occurrence(KotlinPrimeSymbolNameIndex.INSTANCE.getKey(), name);
sink.occurrence(KotlinPrimeSymbolNameIndex.Helper.getIndexKey(), name);
}
}