org.jetbrains.jet.lang.psi
Class JetCodeFragmentImpl

java.lang.Object
  extended by com.intellij.openapi.util.UserDataHolderBase
      extended by com.intellij.psi.impl.ElementBase
          extended by com.intellij.psi.impl.source.PsiFileImpl
              extended by com.intellij.extapi.psi.PsiFileBase
                  extended by org.jetbrains.jet.lang.psi.JetFile
                      extended by org.jetbrains.jet.lang.psi.JetCodeFragmentImpl
All Implemented Interfaces:
com.intellij.navigation.NavigationItem, com.intellij.openapi.ui.Queryable, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.psi.impl.PsiFileEx, com.intellij.psi.impl.source.PsiFileWithStubSupport, com.intellij.psi.NavigatablePsiElement, com.intellij.psi.PsiCheckedRenameElement, com.intellij.psi.PsiCodeFragment, com.intellij.psi.PsiElement, com.intellij.psi.PsiFile, com.intellij.psi.PsiFileSystemItem, com.intellij.psi.PsiNamedElement, java.lang.Cloneable, JetDeclarationContainer, JetElement
Direct Known Subclasses:
JetExpressionCodeFragmentImpl, JetTypeCodeFragmentImpl

public class JetCodeFragmentImpl
extends JetFile
implements com.intellij.psi.PsiCodeFragment


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon
 
Nested classes/interfaces inherited from interface com.intellij.openapi.ui.Queryable
com.intellij.openapi.ui.Queryable.Contributor, com.intellij.openapi.ui.Queryable.PrintInfo, com.intellij.openapi.ui.Queryable.Util
 
Field Summary
protected  com.intellij.psi.PsiElement context
           
 
Fields inherited from class com.intellij.psi.impl.source.PsiFileImpl
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
 
Fields inherited from class com.intellij.psi.impl.ElementBase
FLAGS_LOCKED, ICON_PLACEHOLDER
 
Fields inherited from class com.intellij.openapi.util.UserDataHolderBase
COPYABLE_USER_MAP_KEY
 
Fields inherited from interface com.intellij.psi.PsiFile
EMPTY_ARRAY
 
Fields inherited from interface com.intellij.psi.PsiElement
ARRAY_FACTORY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Fields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Fields inherited from interface com.intellij.psi.impl.PsiFileEx
BATCH_REFERENCE_PROCESSING
 
Constructor Summary
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)
           
 
Method Summary
 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()
           
 
Methods inherited from class org.jetbrains.jet.lang.psi.JetFile
accept, accept, accept, acceptChildren, findImportByAlias, getDeclarations, getFileType, getImportDirectives, getName, getNamespaceHeader, getPackageName, getScript, isScript, toString
 
Methods inherited from class com.intellij.extapi.psi.PsiFileBase
getLanguage, getParserDefinition
 
Methods inherited from class com.intellij.psi.impl.source.PsiFileImpl
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, reportStubAstMismatch, setContentElementType, setName, setOriginalFile, setTreeElementPointer, subtreeChanged, textContains, textMatches, textMatches, textToCharArray, unloadContent
 
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
 
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.intellij.psi.PsiFile
getContainingDirectory, getFileType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged
 
Methods inherited from interface com.intellij.psi.PsiFileSystemItem
getName, isDirectory, processChildren
 
Methods inherited from interface com.intellij.psi.PsiCheckedRenameElement
checkSetName
 
Methods inherited from interface com.intellij.psi.PsiNamedElement
setName
 
Methods inherited from interface com.intellij.psi.PsiElement
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
 
Methods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
 
Methods inherited from interface com.intellij.openapi.util.Iconable
getIcon
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Field Detail

context

protected com.intellij.psi.PsiElement context
Constructor Detail

JetCodeFragmentImpl

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)
Method Detail

forceResolveScope

public void forceResolveScope(com.intellij.psi.search.GlobalSearchScope scope)
Specified by:
forceResolveScope in interface com.intellij.psi.PsiCodeFragment

getForcedResolveScope

public com.intellij.psi.search.GlobalSearchScope getForcedResolveScope()
Specified by:
getForcedResolveScope in interface com.intellij.psi.PsiCodeFragment

isPhysical

public boolean isPhysical()
Specified by:
isPhysical in interface com.intellij.psi.PsiElement
Overrides:
isPhysical in class com.intellij.psi.impl.source.PsiFileImpl

isValid

public boolean isValid()
Specified by:
isValid in interface com.intellij.psi.PsiElement
Overrides:
isValid in class com.intellij.psi.impl.source.PsiFileImpl

getContext

public com.intellij.psi.PsiElement getContext()
Specified by:
getContext in interface com.intellij.psi.PsiElement
Overrides:
getContext in class com.intellij.psi.impl.source.PsiFileImpl

getResolveScope

@NotNull
public com.intellij.psi.search.GlobalSearchScope getResolveScope()
Specified by:
getResolveScope in interface com.intellij.psi.PsiElement
Overrides:
getResolveScope in class com.intellij.psi.impl.source.PsiFileImpl