public class JetCodeFragmentImpl extends JetFile implements com.intellij.psi.PsiCodeFragment
Modifier and Type | Field and Description |
---|---|
protected com.intellij.psi.PsiElement |
context |
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
Constructor and Description |
---|
JetCodeFragmentImpl(com.intellij.openapi.project.Project project,
java.lang.String name,
java.lang.CharSequence text,
com.intellij.psi.tree.IElementType elementType,
com.intellij.psi.PsiElement context) |
Modifier and Type | Method and Description |
---|---|
void |
forceResolveScope(com.intellij.psi.search.GlobalSearchScope scope) |
com.intellij.psi.PsiElement |
getContext() |
com.intellij.psi.search.GlobalSearchScope |
getForcedResolveScope() |
com.intellij.psi.search.GlobalSearchScope |
getResolveScope() |
boolean |
isPhysical() |
boolean |
isValid() |
accept, accept, accept, acceptChildren, findImportByAlias, getDeclarations, getFileType, getImportDirectives, getName, getNamespaceHeader, getPackageName, getScript, isScript, toString
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, cacheCopy, calcStubTree, calcTreeElement, canNavigate, canNavigateToSource, checkAdd, checkDelete, checkSetName, clearCaches, clone, cloneImpl, copy, createContentLeafElement, createFileElement, delete, deleteChildRange, findChildByClass, findChildrenByClass, findElementAt, findReferenceAt, findTreeForStub, getChildren, getContainingDirectory, getContainingFile, getContentElementType, getFirstChild, getLastChild, getManager, getModificationStamp, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getStartOffsetInParent, getStub, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getViewProvider, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isPsiUpToDate, isTemplateDataFile, isWritable, navigate, onContentReload, processChildren, processDeclarations, putInfo, putInfo, replace, setContentElementType, setName, setOriginalFile, setTreeElementPointer, subtreeChanged, textContains, textMatches, textMatches, textToCharArray, unloadContent
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainingDirectory, getFileType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged
getName, isDirectory, processChildren
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getOriginalElement, getPrevSibling, getProject, getReference, getReferences, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
protected com.intellij.psi.PsiElement context
public JetCodeFragmentImpl(com.intellij.openapi.project.Project project, java.lang.String name, java.lang.CharSequence text, com.intellij.psi.tree.IElementType elementType, com.intellij.psi.PsiElement context)
public void forceResolveScope(com.intellij.psi.search.GlobalSearchScope scope)
forceResolveScope
in interface com.intellij.psi.PsiCodeFragment
public com.intellij.psi.search.GlobalSearchScope getForcedResolveScope()
getForcedResolveScope
in interface com.intellij.psi.PsiCodeFragment
public boolean isPhysical()
isPhysical
in interface com.intellij.psi.PsiElement
isPhysical
in class com.intellij.psi.impl.source.PsiFileImpl
public boolean isValid()
isValid
in interface com.intellij.psi.PsiElement
isValid
in class com.intellij.psi.impl.source.PsiFileImpl
public com.intellij.psi.PsiElement getContext()
getContext
in interface com.intellij.psi.PsiElement
getContext
in class com.intellij.psi.impl.source.PsiFileImpl
@NotNull public com.intellij.psi.search.GlobalSearchScope getResolveScope()
getResolveScope
in interface com.intellij.psi.PsiElement
getResolveScope
in class com.intellij.psi.impl.source.PsiFileImpl