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, unloadContentbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagsclearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptChildren, 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, textToCharArraypublic JetFile(com.intellij.psi.FileViewProvider viewProvider)
@NotNull public com.intellij.openapi.fileTypes.FileType getFileType()
getFileType in interface com.intellij.psi.PsiFilepublic java.lang.String toString()
toString in interface com.intellij.psi.PsiElementtoString in class com.intellij.psi.impl.source.PsiFileImpl@NotNull public java.util.List<JetDeclaration> getDeclarations()
getDeclarations in interface JetDeclarationContainerpublic 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.NavigationItemgetName in interface com.intellij.psi.PsiFileSystemItemgetName in interface com.intellij.psi.PsiNamedElementgetName in class com.intellij.psi.impl.source.PsiFileImplpublic void accept(@NotNull com.intellij.psi.PsiElementVisitor visitor)
accept in interface com.intellij.psi.PsiElementaccept in class com.intellij.extapi.psi.PsiFileBasepublic <D> void acceptChildren(@NotNull JetTreeVisitor<D> visitor, D data)
acceptChildren in interface JetElementpublic void accept(@NotNull JetVisitorVoid visitor)
accept in interface JetElementpublic <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept in interface JetElement