doMoveFile() now accepts not-null PsiDirectory
(cherry picked from commit 8a16c90)
This commit is contained in:
committed by
Dmitry Jemerov
parent
59055e28ee
commit
0995f2700e
+1
@@ -69,6 +69,7 @@ class MoveKotlinFileHandler : MoveFileHandler() {
|
||||
|
||||
fun initMoveProcessor(psiFile: PsiFile, newParent: PsiDirectory?): MoveKotlinDeclarationsProcessor? {
|
||||
if (psiFile !is KtFile) return null
|
||||
if (newParent == null) return null
|
||||
val packageNameInfo = psiFile.getPackageNameInfo(newParent, false) ?: return null
|
||||
|
||||
val project = psiFile.project
|
||||
|
||||
Reference in New Issue
Block a user