public abstract class ClsRepositoryPsiElement<T extends StubElement> extends ClsElementImpl implements StubBasedPsiElement<T>
ClsElementImpl.InvalidMirrorExceptionIconable.IconFlags, Iconable.LastComputedIconCOMPILED_ELEMENT, NEXT_LINEFLAGS_LOCKED, ICON_PLACEHOLDERARRAY_FACTORY, EMPTY_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_NAVIGATABLE_ELEMENT_ARRAYEMPTY_NAVIGATION_ITEM_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
ClsRepositoryPsiElement(T stub) |
| Modifier and Type | Method and Description |
|---|---|
PsiElement [] |
getChildren()
Returns the array of children for the PSI element.
|
PsiFile |
getContainingFile()
Returns the file containing the PSI element.
|
IStubElementType |
getElementType() |
PsiElement |
getFirstChild()
Returns the first child of the PSI element.
|
PsiElement |
getLastChild()
Returns the last child of the PSI element.
|
PsiManager |
getManager()
Returns the PSI manager for the project to which the PSI element belongs.
|
PsiElement |
getNextSibling()
Returns the next sibling of the PSI element.
|
PsiElement |
getParent()
Returns the parent of the PSI element.
|
PsiElement |
getPrevSibling()
Returns the previous sibling of the PSI element.
|
T |
getStub() |
boolean |
isPhysical()
Checks if an actual source or class file corresponds to the element.
|
add, addAfter, addBefore, appendMirrorText, appendText, appendText, checkAdd, checkDelete, copy, delete, findElementAt, findReferenceAt, getChildren, getIndentSize, getLanguage, getMirror, getNode, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isValid, isWritable, replace, setMirror, setMirror, setMirrorCheckingType, setMirrorIfPresent, setMirrors, setMirrors, textMatches, textMatches, textToCharArrayaccept, acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, getContext, getName, getNavigationElement, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getContext, getCopyableUserData, getLanguage, getNavigationElement, getNode, getOriginalElement, getOwnReferences, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringgetUserData, putUserDataprotected ClsRepositoryPsiElement(T stub)
public IStubElementType getElementType()
getElementType in interface StubBasedPsiElement<T extends StubElement>public PsiElement getParent()
PsiElementgetParent in interface PsiElementpublic PsiManager getManager()
PsiElementgetManager in interface PsiElementgetManager in class ClsElementImplpublic PsiFile getContainingFile()
PsiElementgetContainingFile in interface PsiElementgetContainingFile in class ClsElementImplpublic T getStub()
getStub in interface StubBasedPsiElement<T extends StubElement>public boolean isPhysical()
PsiElementPsiDocumentManager.getDocument(PsiFile) returns null for non-physical elements.
Not to be confused with FileViewProvider.isPhysical().isPhysical in interface PsiElementisPhysical in class ClsElementImplpublic PsiElement [] getChildren()
PsiElementgetChildren in interface PsiElementpublic PsiElement getFirstChild()
PsiElementgetFirstChild in interface PsiElementgetFirstChild in class PsiElementBasepublic PsiElement getLastChild()
PsiElementgetLastChild in interface PsiElementgetLastChild in class PsiElementBasepublic PsiElement getNextSibling()
PsiElementgetNextSibling in interface PsiElementgetNextSibling in class PsiElementBasepublic PsiElement getPrevSibling()
PsiElementgetPrevSibling in interface PsiElementgetPrevSibling in class PsiElementBase