Searched refs:psiFile (Results 1 – 7 of 7) sorted by relevance
20 val psiFile = psiElement.containingFile in <lambda>() constant28 if (psiFile is KtFile) { in <lambda>()29 val filteredImports = psiFile.importList?.imports?.filter { element -> in <lambda>()
65 val psiFile = psiElement.containingFile in processImports() constant66 if (psiFile is KtFile) { in processImports()68 append(ContentText(psiFile.importList?.text ?: "")) in processImports()
111 val psiFile = psiElement.containingFile in processImports() constant112 if (psiFile is KtFile) { in processImports()115 psiFile.importList?.let { in processImports()
65 @NotNull public final PsiFile psiFile; field in FindUsagesTest.TestFile70 this.psiFile = createFile(fileName, getText()); in TestFile()115 PsiElement element = testFile.psiFile.findElementAt(refIndex); in doTest()128 reference = testFile.psiFile.findReferenceAt(refIndex); in doTest()133 testFile.psiFile.findElementAt(refIndex), 0); in doTest()
38 PsiFile psiFile = createFile(fileName, REF_PATTERN.matcher(text).replaceAll("")); in doTest() local45 PsiReference reference = psiFile.getFirstChild().findReferenceAt(index); in doTest()
199 val psiFile = PsiManager.getInstance(project).findFile(vFile) in KotlinCoreEnvironment() constant200 if (psiFile is PsiJavaFile) { in KotlinCoreEnvironment()201 result.add(psiFile) in KotlinCoreEnvironment()
74 val psiFile = psiFileFactory.createFileFromText( in <lambda>() constant83 val psiClass = PsiTreeUtil.getChildOfType(psiFile, PsiClass::class.java)!! in <lambda>()