1 package org.jetbrains.dokka
2 
3 import com.intellij.psi.PsiFile
4 import org.jetbrains.kotlin.analyzer.ModuleInfo
5 import org.jetbrains.kotlin.caches.resolve.KotlinCacheService
6 import org.jetbrains.kotlin.idea.resolve.ResolutionFacade
7 import org.jetbrains.kotlin.psi.KtElement
8 import org.jetbrains.kotlin.resolve.diagnostics.KotlinSuppressCache
9 
10 
11 class CoreKotlinCacheService(private val resolutionFacade: DokkaResolutionFacade) : KotlinCacheService {
getResolutionFacadenull12     override fun getResolutionFacade(elements: List<KtElement>): ResolutionFacade {
13         return resolutionFacade
14     }
15 
getResolutionFacadenull16     override fun getResolutionFacade(
17         elements: List<KtElement>,
18         platform: org.jetbrains.kotlin.platform.TargetPlatform
19     ): ResolutionFacade {
20         return resolutionFacade
21     }
22 
getResolutionFacadeByFilenull23     override fun getResolutionFacadeByFile(
24         file: PsiFile,
25         platform: org.jetbrains.kotlin.platform.TargetPlatform
26     ): ResolutionFacade? {
27         return resolutionFacade
28     }
29 
getResolutionFacadeByModuleInfonull30     override fun getResolutionFacadeByModuleInfo(
31         moduleInfo: ModuleInfo,
32         platform: org.jetbrains.kotlin.platform.TargetPlatform
33     ): ResolutionFacade? {
34         return resolutionFacade
35     }
36 
getSuppressionCachenull37     override fun getSuppressionCache(): KotlinSuppressCache {
38         throw UnsupportedOperationException()
39     }
40 
41 }
42 
43