[FIR] Make session & symbolProvider abstract classes

This commit is contained in:
Simon Ogorodnik
2019-06-05 18:09:55 +03:00
committed by Mikhail Glukhikh
parent 5a06027c53
commit 810fa9c171
14 changed files with 50 additions and 69 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ class FirExplorerToolWindow(private val project: Project, private val toolWindow
val psiDocumentManager = PsiDocumentManager.getInstance(project)
val file = runReadAction { psiDocumentManager.getPsiFile(editor.document) as? KtFile }
if (file != null) {
val firFile = runReadAction { RawFirBuilder(object : FirSessionBase() {}, stubMode = false).buildFirFile(file) }
val firFile = runReadAction { RawFirBuilder(object : FirSessionBase(null) {}, stubMode = false).buildFirFile(file) }
runInEdt {
treeStructure.root = FirExplorerTreeNode("root = ", firFile, null)
builder.updateFromRoot(!init)