mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
LAB-29: don't resolve on demand references
GitOrigin-RevId: ee1af5d2e758bf4e42f2043e4aa09bad055079fd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0141207cd1
commit
a4159c0ddf
@@ -10,7 +10,7 @@ import com.intellij.openapi.project.Project
|
||||
|
||||
internal class FileNavigationLogger : CounterUsagesCollector() {
|
||||
companion object {
|
||||
private val GROUP = EventLogGroup("file.prediction", 11)
|
||||
private val GROUP = EventLogGroup("file.prediction", 12)
|
||||
|
||||
private var session: IntEventField = EventFields.Int("session")
|
||||
private var performance: LongListEventField = EventFields.LongList("performance")
|
||||
|
||||
@@ -18,7 +18,7 @@ internal class JavaFileReferenceProvider : FileExternalReferencesProvider {
|
||||
if (DumbService.isDumb(file.project)) {
|
||||
return FAILED_COMPUTATION
|
||||
}
|
||||
return succeed(uFile.imports.mapNotNull { it.resolve() }.mapNotNull { it.containingFile }.toSet())
|
||||
return succeed(uFile.imports.filter { !it.isOnDemand }.mapNotNull { it.resolve() }.mapNotNull { it.containingFile }.toSet())
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user