|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.intellij.openapi.util.UserDataHolderBase
com.intellij.psi.impl.ElementBase
com.intellij.psi.impl.source.PsiFileImpl
com.intellij.extapi.psi.PsiFileBase
org.jetbrains.kotlin.psi.JetFile
public class JetFile
| 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 |
|---|
| Fields inherited from class com.intellij.psi.impl.source.PsiFileImpl |
|---|
BUILDING_STUB, myContentElementType, myManager, myOriginalFile, STUB_PSI_MISMATCH |
| Fields inherited from class com.intellij.psi.impl.ElementBase |
|---|
FLAGS_LOCKED, ICON_PLACEHOLDER |
| 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 | |
|---|---|
JetFile(com.intellij.psi.FileViewProvider viewProvider,
boolean compiled)
|
|
| Method Summary | ||
|---|---|---|
|
accept(JetVisitor<R,D> visitor,
D data)
|
|
void |
accept(com.intellij.psi.PsiElementVisitor visitor)
|
|
|
acceptChildren(JetVisitor<java.lang.Void,D> visitor,
D data)
|
|
|
findChildByTypeOrClass(JetPlaceHolderStubElementType<T> elementType,
java.lang.Class<T> elementClass)
|
|
JetImportDirective |
findImportByAlias(java.lang.String name)
|
|
java.util.List<JetAnnotationEntry> |
getAnnotationEntries()
|
|
java.util.List<JetAnnotation> |
getAnnotations()
|
|
com.intellij.psi.PsiClass[] |
getClasses()
|
|
JetFile |
getContainingJetFile()
|
|
java.util.List<JetAnnotationEntry> |
getDanglingAnnotations()
|
|
java.util.List<JetDeclaration> |
getDeclarations()
|
|
JetFileAnnotationList |
getFileAnnotationList()
|
|
com.intellij.openapi.fileTypes.FileType |
getFileType()
|
|
java.util.List<JetImportDirective> |
getImportDirectives()
|
|
JetImportList |
getImportList()
|
|
java.lang.String |
getName()
|
|
com.intellij.lang.FileASTNode |
getNode()
|
|
JetPackageDirective |
getPackageDirective()
|
|
FqName |
getPackageFqName()
|
|
FqName |
getPackageFqNameByTree()
|
|
java.lang.String |
getPackageName()
Deprecated. |
|
JetScript |
getScript()
|
|
KotlinFileStub |
getStub()
|
|
boolean |
isCompiled()
|
|
boolean |
isScript()
|
|
boolean |
isScriptByTree()
|
|
void |
setPackageName(java.lang.String packageName)
|
|
java.lang.String |
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, 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, getElementTypeForStubBuilder, getFirstChild, getLastChild, getManager, getModificationStamp, getNavigationElement, getNextSibling, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getResolveScope, getStartOffsetInParent, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getViewProvider, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isPhysical, isTemplateDataFile, isValid, isWritable, markInvalidated, navigate, onContentReload, processChildren, processDeclarations, putInfo, putInfo, replace, reportStubAstMismatch, setContentElementType, setName, setOriginalFile, setTreeElementPointer, subtreeChanged, textContains, textMatches, textMatches, textToCharArray |
| 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 |
|---|
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap |
| 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, getModificationStamp, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged |
| Methods inherited from interface com.intellij.psi.PsiFileSystemItem |
|---|
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 |
|---|
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getOriginalElement, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray |
| 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 |
| Constructor Detail |
|---|
public JetFile(com.intellij.psi.FileViewProvider viewProvider,
boolean compiled)
| Method Detail |
|---|
public com.intellij.lang.FileASTNode getNode()
getNode in interface com.intellij.psi.PsiElementgetNode in interface com.intellij.psi.PsiFilegetNode in class com.intellij.psi.impl.source.PsiFileImplpublic boolean isCompiled()
@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 JetDeclarationContainer@Nullable public JetImportList getImportList()
@Nullable public JetFileAnnotationList getFileAnnotationList()
@Nullable
public <T extends JetElementImplStub<? extends com.intellij.psi.stubs.StubElement<?>>> T findChildByTypeOrClass(@NotNull
JetPlaceHolderStubElementType<T> elementType,
@NotNull
java.lang.Class<T> elementClass)
@NotNull public java.util.List<JetImportDirective> getImportDirectives()
@Nullable
public JetImportDirective findImportByAlias(@NotNull
java.lang.String name)
@Nullable public JetPackageDirective getPackageDirective()
@Deprecated @NotNull public java.lang.String getPackageName()
getPackageName in interface com.intellij.psi.PsiClassOwner@NotNull public FqName getPackageFqName()
@NotNull public FqName getPackageFqNameByTree()
@Nullable public KotlinFileStub getStub()
getStub in class com.intellij.psi.impl.source.PsiFileImpl@NotNull public com.intellij.psi.PsiClass[] getClasses()
getClasses in interface com.intellij.psi.PsiClassOwnerpublic void setPackageName(java.lang.String packageName)
setPackageName in interface com.intellij.psi.PsiClassOwner@Nullable public JetScript getScript()
public boolean isScript()
public boolean isScriptByTree()
@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.PsiFileImpl
public void accept(@NotNull
com.intellij.psi.PsiElementVisitor visitor)
accept in interface com.intellij.psi.PsiElementaccept in class com.intellij.extapi.psi.PsiFileBase@NotNull public JetFile getContainingJetFile()
public <D> void acceptChildren(@NotNull
JetVisitor<java.lang.Void,D> visitor,
D data)
public <R,D> R accept(@NotNull
JetVisitor<R,D> visitor,
D data)
@NotNull public java.util.List<JetAnnotation> getAnnotations()
getAnnotations in interface JetAnnotated@NotNull public java.util.List<JetAnnotationEntry> getAnnotationEntries()
getAnnotationEntries in interface JetAnnotated@NotNull public java.util.List<JetAnnotationEntry> getDanglingAnnotations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||