public class JetFile extends com.intellij.extapi.psi.PsiFileBase implements JetDeclarationContainer, JetElement
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
Constructor and Description |
---|
JetFile(com.intellij.psi.FileViewProvider viewProvider) |
Modifier and Type | Method and Description |
---|---|
<R,D> R |
accept(JetVisitor<R,D> visitor,
D data) |
void |
accept(JetVisitorVoid visitor) |
void |
accept(com.intellij.psi.PsiElementVisitor visitor) |
<D> void |
acceptChildren(JetTreeVisitor<D> visitor,
D data) |
JetImportDirective |
findImportByAlias(java.lang.String name) |
java.util.List<JetDeclaration> |
getDeclarations() |
com.intellij.openapi.fileTypes.FileType |
getFileType() |
java.util.List<JetImportDirective> |
getImportDirectives() |
java.lang.String |
getName() |
JetNamespaceHeader |
getNamespaceHeader() |
java.lang.String |
getPackageName() |
JetScript |
getScript() |
boolean |
isScript() |
java.lang.String |
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, getContext, getFirstChild, getLastChild, getManager, getModificationStamp, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getResolveScope, getStartOffsetInParent, getStub, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getViewProvider, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isPhysical, isPsiUpToDate, isTemplateDataFile, isValid, 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
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
public JetFile(com.intellij.psi.FileViewProvider viewProvider)
@NotNull public com.intellij.openapi.fileTypes.FileType getFileType()
getFileType
in interface com.intellij.psi.PsiFile
public java.lang.String toString()
toString
in interface com.intellij.psi.PsiElement
toString
in class com.intellij.psi.impl.source.PsiFileImpl
@NotNull public java.util.List<JetDeclaration> getDeclarations()
getDeclarations
in interface JetDeclarationContainer
public java.util.List<JetImportDirective> getImportDirectives()
@Nullable public JetImportDirective findImportByAlias(@NotNull java.lang.String name)
@Nullable public JetNamespaceHeader getNamespaceHeader()
@Nullable public java.lang.String getPackageName()
public boolean isScript()
@NotNull public java.lang.String getName()
getName
in interface com.intellij.navigation.NavigationItem
getName
in interface com.intellij.psi.PsiFileSystemItem
getName
in interface com.intellij.psi.PsiNamedElement
getName
in class com.intellij.psi.impl.source.PsiFileImpl
public void accept(@NotNull com.intellij.psi.PsiElementVisitor visitor)
accept
in interface com.intellij.psi.PsiElement
accept
in class com.intellij.extapi.psi.PsiFileBase
public <D> void acceptChildren(@NotNull JetTreeVisitor<D> visitor, D data)
acceptChildren
in interface JetElement
public void accept(@NotNull JetVisitorVoid visitor)
accept
in interface JetElement
public <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept
in interface JetElement