FakePsiFile

class FakePsiFile(text: String = "", name: String = "") : PsiFile

Constructors

Link copied to clipboard
constructor(text: String = "", name: String = "")

Functions

Link copied to clipboard
open override fun accept(p0: PsiElementVisitor)
Link copied to clipboard
open override fun acceptChildren(p0: PsiElementVisitor)
Link copied to clipboard
open override fun add(p0: PsiElement): PsiElement
Link copied to clipboard
open override fun addAfter(p0: PsiElement, p1: PsiElement?): PsiElement
Link copied to clipboard
open override fun addBefore(p0: PsiElement, p1: PsiElement?): PsiElement
Link copied to clipboard
open override fun addRange(p0: PsiElement?, p1: PsiElement?): PsiElement
Link copied to clipboard
open override fun addRangeAfter(p0: PsiElement?, p1: PsiElement?, p2: PsiElement?): PsiElement
Link copied to clipboard
open override fun addRangeBefore(p0: PsiElement, p1: PsiElement, p2: PsiElement?): PsiElement
Link copied to clipboard
open override fun canNavigate(): Boolean
Link copied to clipboard
open override fun canNavigateToSource(): Boolean
Link copied to clipboard
open override fun checkAdd(p0: PsiElement)
Link copied to clipboard
open override fun checkDelete()
Link copied to clipboard
open override fun checkSetName(p0: String?)
Link copied to clipboard
open fun clearCaches()
Link copied to clipboard
open override fun copy(): PsiElement
Link copied to clipboard
open override fun delete()
Link copied to clipboard
open override fun deleteChildRange(p0: PsiElement?, p1: PsiElement?)
Link copied to clipboard
open override fun findElementAt(p0: Int): PsiElement?
Link copied to clipboard
open override fun findReferenceAt(p0: Int): PsiReference?
Link copied to clipboard
open override fun getChildren(): Array<PsiElement>
Link copied to clipboard
open override fun getContainingDirectory(): PsiDirectory
Link copied to clipboard
open override fun getContainingFile(): PsiFile
Link copied to clipboard
open override fun getContext(): PsiElement?
Link copied to clipboard
open override fun <T> getCopyableUserData(p0: Key<T>): T?
Link copied to clipboard
@Nullable
open fun getFileElementType(): @Nullable IFileElementType?
Link copied to clipboard
open override fun getFileType(): FileType
Link copied to clipboard
open override fun getFirstChild(): PsiElement
Link copied to clipboard
open override fun getIcon(p0: Int): Icon
Link copied to clipboard
open override fun getLanguage(): Language
Link copied to clipboard
open override fun getLastChild(): PsiElement
Link copied to clipboard
open override fun getManager(): PsiManager
Link copied to clipboard
open override fun getModificationStamp(): Long
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getNavigationElement(): PsiElement
Link copied to clipboard
open override fun getNextSibling(): PsiElement
Link copied to clipboard
open override fun getNode(): FileASTNode
Link copied to clipboard
open override fun getOriginalElement(): PsiElement
Link copied to clipboard
open override fun getOriginalFile(): PsiFile
Link copied to clipboard
@ApiStatus.Experimental
@ApiStatus.OverrideOnly
@NotNull
open fun getOwnDeclarations(): @NotNull MutableCollection<out @NotNull Any>
Link copied to clipboard
@ApiStatus.Experimental
@ApiStatus.OverrideOnly
@NotNull
open fun getOwnReferences(): @NotNull MutableCollection<out @NotNull PsiSymbolReference>
Link copied to clipboard
open override fun getParent(): PsiDirectory?
Link copied to clipboard
open override fun getPresentation(): ItemPresentation?
Link copied to clipboard
open override fun getPrevSibling(): PsiElement
Link copied to clipboard
open override fun getProject(): Project
Link copied to clipboard
open override fun getPsiRoots(): Array<PsiFile>
Link copied to clipboard
open override fun getReference(): PsiReference?
Link copied to clipboard
open override fun getReferences(): Array<PsiReference>
Link copied to clipboard
open override fun getResolveScope(): GlobalSearchScope
Link copied to clipboard
open override fun getStartOffsetInParent(): Int
Link copied to clipboard
open override fun getText(): String
Link copied to clipboard
open override fun getTextLength(): Int
Link copied to clipboard
open override fun getTextOffset(): Int
Link copied to clipboard
open override fun getTextRange(): TextRange
Link copied to clipboard
@Contract(pure = true)
@NotNull
open fun getTextRangeInParent(): @NotNull TextRange
Link copied to clipboard
open override fun <T> getUserData(p0: Key<T>): T?
Link copied to clipboard
open override fun getUseScope(): SearchScope
Link copied to clipboard
open override fun getViewProvider(): FileViewProvider
Link copied to clipboard
open override fun getVirtualFile(): VirtualFile
Link copied to clipboard
open override fun isDirectory(): Boolean
Link copied to clipboard
open override fun isEquivalentTo(p0: PsiElement?): Boolean
Link copied to clipboard
open override fun isPhysical(): Boolean
Link copied to clipboard
open override fun isValid(): Boolean
Link copied to clipboard
open override fun isWritable(): Boolean
Link copied to clipboard
open override fun navigate(p0: Boolean)
Link copied to clipboard
@ApiStatus.Experimental
@Nullable
open fun navigationRequest(): @Nullable NavigationRequest?
Link copied to clipboard
open override fun processChildren(p0: PsiElementProcessor<in PsiFileSystemItem>): Boolean
Link copied to clipboard
open override fun processDeclarations(p0: PsiScopeProcessor, p1: ResolveState, p2: PsiElement?, p3: PsiElement): Boolean
Link copied to clipboard
open override fun <T> putCopyableUserData(p0: Key<T>, p1: T?)
Link copied to clipboard
open override fun <T> putUserData(p0: Key<T>, p1: T?)
Link copied to clipboard
open override fun replace(p0: PsiElement): PsiElement
Link copied to clipboard
open override fun setName(p0: String): PsiElement
Link copied to clipboard
open override fun subtreeChanged()
Link copied to clipboard
open override fun textContains(p0: Char): Boolean
Link copied to clipboard
open override fun textMatches(p0: CharSequence): Boolean
open override fun textMatches(p0: PsiElement): Boolean
Link copied to clipboard
open override fun textToCharArray(): CharArray