Add import tracker

This tracker reports import directives to IJ's JPS to track changes and detectwehen it is needed to adjust compilation scope.

#KT-44835 Fixed
This commit is contained in:
Aleksei.Cherepanov
2023-08-11 15:17:50 +02:00
committed by Space Team
parent b27aef2c61
commit 68af705664
25 changed files with 175 additions and 45 deletions
@@ -43,6 +43,7 @@ object FirTestSessionFactoryHelper {
librariesScope,
lookupTracker = null,
enumWhenTracker = null,
importTracker = null,
incrementalCompilationContext = null,
extensionRegistrars = emptyList(),
needRegisterJavaElementFinder = true,
@@ -75,6 +76,7 @@ object FirTestSessionFactoryHelper {
PsiBasedProjectFileSearchScope(librariesScope),
lookupTracker = null,
enumWhenTracker = null,
importTracker = null,
incrementalCompilationContext = null,
extensionRegistrars = emptyList(),
needRegisterJavaElementFinder = true,