getting rid of ClsFileImpl.setPhysical
patch by Roman Shevchenko
This commit is contained in:
+4
-1
@@ -345,8 +345,11 @@ class IDELightClassGenerationSupport(private val project: Project) : LightClassG
|
||||
override fun getMirror(): PsiElement {
|
||||
return mirrorFile
|
||||
}
|
||||
|
||||
override fun isPhysical(): Boolean {
|
||||
return false
|
||||
}
|
||||
}
|
||||
fakeFile.isPhysical = false
|
||||
javaFileStub.psi = fakeFile
|
||||
return fakeFile.classes.single() as ClsClassImpl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user