[Analysis API] Allow disabling sealed class inheritor searcher in tests

Index-less implementation of sealed class inheritor searcher affects
Java caches, making laziness work quite differently, comparing to IDEs.
This commit is contained in:
Yan Zhulanow
2022-11-11 02:17:10 +09:00
committed by teamcity
parent b770e5d02f
commit 40f1bc8480
5 changed files with 17 additions and 0 deletions
@@ -24,6 +24,7 @@ object StandaloneModeConfigurator : AnalysisApiTestConfigurator() {
override fun configureTest(builder: TestConfigurationBuilder, disposable: Disposable) {
with(builder) {
useDirectives(SealedClassesInheritorsCaclulatorPreAnalysisHandler.Directives)
usePreAnalysisHandlers(::SealedClassesInheritorsCaclulatorPreAnalysisHandler)
}
}