public class PsiJavaFileImpl extends PsiJavaFileBaseImpl
Queryable.Contributor, Queryable.PrintInfo, Queryable.Util
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
FLAGS_LOCKED, ICON_PLACEHOLDER
EMPTY_ARRAY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
BATCH_REFERENCE_PROCESSING
Constructor and Description |
---|
PsiJavaFileImpl(FileViewProvider file) |
Modifier and Type | Method and Description |
---|---|
FileType |
getFileType()
Returns the file type for the file.
|
PsiJavaModule |
getModuleDeclaration()
Returns a Java module declaration element, or
null if the file is not a module-info one. |
java.lang.String |
toString()
toString() should never be presented to the user.
|
accept, clearCaches, findImportReferenceTo, getClasses, getImplicitlyImportedPackageReferences, getImplicitlyImportedPackages, getImportList, getLanguage, getLanguageLevel, getOnDemandImports, getPackageName, getPackageStatement, getSingleClassImports, importClass, processDeclarations, setOriginalFile, setPackageName, subtreeChanged
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, assertReadAccessAllowed, beforeAstChange, calcStubTree, calcTreeElement, canNavigate, canNavigateToSource, checkAdd, checkDelete, checkSetName, clone, cloneImpl, copy, createContentLeafElement, createFileElement, delete, deleteChildRange, derefStub, findChildByClass, findChildrenByClass, findElementAt, findReferenceAt, getChildren, getContainingDirectory, getContainingFile, getContentElementType, getContext, getElementTypeForStubBuilder, getFileElementType, getFirstChild, getGreenStub, getGreenStubTree, getLastChild, getManager, getModificationStamp, getName, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getResolveScope, getStartOffsetInParent, getStub, getStubbedSpine, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getViewProvider, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isPhysical, isTemplateDataFile, isValid, isWritable, markInvalidated, navigate, onContentReload, processChildren, putInfo, putInfo, replace, setContentElementType, setName, setTreeElementPointer, textContains, textMatches, textMatches, textToCharArray
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainingDirectory, getFileElementType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile
getName, isDirectory, processChildren
checkSetName
setName
getPresentation
canNavigate, canNavigateToSource, navigate
public PsiJavaFileImpl(FileViewProvider file)
public FileType getFileType()
PsiFile
public PsiJavaModule getModuleDeclaration()
PsiJavaFile
null
if the file is not a module-info one.getModuleDeclaration
in interface PsiJavaFile
getModuleDeclaration
in class PsiJavaFileBaseImpl
public java.lang.String toString()
PsiElement
toString
in interface PsiElement
toString
in class PsiFileImpl