//arrow-meta/arrow.meta.phases.analysis/MetaFileViewProvider

MetaFileViewProvider

[jvm]
class MetaFileViewProvider(psiManager: PsiManager, virtualFile: VirtualFile, transformation: (Document?) -> Document?) : SingleRootFileViewProvider

Provides interception access to the internals of a VirtualFile allowing to replace its Document

Constructors

   
MetaFileViewProvider [jvm]
fun MetaFileViewProvider(psiManager: PsiManager, virtualFile: VirtualFile, transformation: (Document?) -> Document?)

Functions

Name Summary
beforeContentsSynchronized [jvm]
open override fun beforeContentsSynchronized()
changeUserMap [jvm]
open fun changeUserMap(@NotNullp0: @NotNullKeyFMap, @NotNullp1: @NotNullKeyFMap): Boolean
clearUserData [jvm]
open fun clearUserData()
clone [jvm]
open override fun clone(): FileViewProvider
contentsSynchronized [jvm]
open override fun contentsSynchronized()
copyCopyableDataTo [jvm]
open fun copyCopyableDataTo(@NotNullp0: @NotNullUserDataHolderBase)
copyUserDataTo [jvm]
open fun copyUserDataTo(@NotNullp0: @NotNullUserDataHolderBase)
createCopy [jvm]
@NotNull
open override fun createCopy(@NotNullp0: @NotNullVirtualFile): @NotNullSingleRootFileViewProvider
createFile [jvm]
@Nullable
open fun createFile(@NotNullp0: @NotNullLanguage): @NullablePsiFile?
@Nullable
open fun createFile(@NotNullp0: @NotNullProject, @NotNullp1: @NotNullVirtualFile, @NotNullp2: @NotNullFileType): @NullablePsiFile?
@NotNull
open fun createFile(@NotNullp0: @NotNullVirtualFile, @NotNullp1: @NotNullFileType, @NotNullp2: @NotNullLanguage): @NotNullPsiFile
findElementAt [jvm]
open override fun findElementAt(p0: Int): PsiElement?
open override fun findElementAt(p0: Int, @NotNullp1: @NotNullLanguage): PsiElement?
open override fun findElementAt(p0: Int, @NotNullp1: @NotNullClass<out Language>): PsiElement?
findReferenceAt [jvm]
open override fun findReferenceAt(p0: Int): PsiReference?
@Nullable
open override fun findReferenceAt(p0: Int, @NotNullp1: @NotNullLanguage): @NullablePsiReference?
forceCachedPsi [jvm]
fun forceCachedPsi(@NotNullp0: @NotNullPsiFile)
getAllFiles [jvm]
@NotNull
open override fun getAllFiles(): @NotNullMutableList<PsiFile>
getBaseLanguage [jvm]
@NotNull
open override fun getBaseLanguage(): @NotNullLanguage
getCachedPsi [jvm]
override fun getCachedPsi(@NotNullp0: @NotNullLanguage): PsiFile
getCachedPsiFiles [jvm]
@NotNull
override fun getCachedPsiFiles(): @NotNullMutableList<PsiFile>
getContents [jvm]
@NotNull
open override fun getContents(): @NotNullCharSequence
getCopyableUserData [jvm]
open fun <T : Any> getCopyableUserData(@NotNullp0: @NotNullKey<T>): T
getDocument [jvm]
open override fun getDocument(): Document?
getFilePsiLock [jvm]
@NotNull
open fun getFilePsiLock(): @NotNullPsiLock
getFileType [jvm]
@NotNull
override fun getFileType(): @NotNullFileType
getKnownTreeRoots [jvm]
@NotNull
override fun getKnownTreeRoots(): @NotNullMutableList<FileElement>
getLanguages [jvm]
@NotNull
open override fun getLanguages(): @NotNullMutableSet<Language>
getManager [jvm]
@NotNull
override fun getManager(): @NotNullPsiManagerEx
getModificationStamp [jvm]
open override fun getModificationStamp(): Long
getPsi [jvm]
@Nullable
override fun getPsi(@NotNullp0: @NotNullLanguage): @NullablePsiFile?
getPsiInner [jvm]
@Nullable
open override fun getPsiInner(@NotNullp0: @NotNullLanguage): @NullablePsiFile?
getStubBindingRoot [jvm]
@NotNull
open override fun getStubBindingRoot(): @NotNullPsiFile
getUserData [jvm]
open override fun <T : Any> getUserData(@NotNullp0: @NotNullKey<T>): T?
getUserDataString [jvm]
@TestOnly
open fun getUserDataString(): String
getUserMap [jvm]
@NotNull
open fun getUserMap(): @NotNullKeyFMap
getVirtualFile [jvm]
@NotNull
open override fun getVirtualFile(): @NotNullVirtualFile
hasLanguage [jvm]
open fun hasLanguage(@NotNullp0: @NotNullLanguage): Boolean
isEventSystemEnabled [jvm]
open override fun isEventSystemEnabled(): Boolean
isIgnored [jvm]
fun isIgnored(): Boolean
isPhysical [jvm]
open override fun isPhysical(): Boolean
isUserDataEmpty [jvm]
open fun isUserDataEmpty(): Boolean
markInvalidated [jvm]
fun markInvalidated()
markPossiblyInvalidated [jvm]
fun markPossiblyInvalidated()
onContentReload [jvm]
fun onContentReload()
putCopyableUserData [jvm]
open fun <T : Any> putCopyableUserData(@NotNullp0: @NotNullKey<T>, p1: T)
putUserData [jvm]
open override fun <T : Any> putUserData(@NotNullp0: @NotNullKey<T>, @Nullablep1: @NullableT?)
putUserDataIfAbsent [jvm]
@NotNull
open override fun <T : Any> putUserDataIfAbsent(@NotNullp0: @NotNullKey<T>, @NotNullp1: @NotNullT): @NotNullT
registerAsCopy [jvm]
fun registerAsCopy(@NotNullp0: @NotNullAbstractFileViewProvider)
replace [jvm]
open override fun <T : Any> replace(@NotNullp0: @NotNullKey<T>, @Nullablep1: @NullableT?, @Nullablep2: @NullableT?): Boolean
rootChanged [jvm]
open override fun rootChanged(@NotNullp0: @NotNullPsiFile)
setUserMap [jvm]
open fun setUserMap(@NotNullp0: @NotNullKeyFMap)
shouldCreatePsi [jvm]
open fun shouldCreatePsi(): Boolean
supportsIncrementalReparse [jvm]
open override fun supportsIncrementalReparse(@NotNullp0: @NotNullLanguage): Boolean
toString [jvm]
@NonNls
open override fun toString(): @NonNlsString

Properties

Name Summary
transformation [jvm]
val transformation: (Document?) -> Document?

Do you like Arrow?

Arrow Org
<