public class PsiResourceVariableImpl extends PsiLocalVariableImpl implements PsiResourceVariable
Iconable.IconFlags, Iconable.LastComputedIconourHCEMPTY_ARRAYFLAGS_LOCKED, ICON_PLACEHOLDEREMPTY_ARRAYARRAY_FACTORYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_ARRAYEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description |
|---|
PsiResourceVariableImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
void |
delete()
Deletes this PSI element from the tree.
|
PsiElement [] |
getDeclarationScope() |
PsiModifierList |
getModifierList()
Returns the list of modifiers for the element.
|
PsiTypeElement |
getTypeElement()
Returns the type element declaring the type of the variable.
|
SearchScope |
getUseScope()
Returns the scope in which references to this element are searched.
|
java.lang.String |
toString()
toString() should never be presented to the user.
|
clearCaches, computeConstantValue, computeConstantValue, deleteChildInternal, findChildByRole, getChildRole, getElementIcon, getInitializer, getName, getNameIdentifier, getPresentation, getTextOffset, getType, hasInitializer, hasModifierProperty, isVisibilitySupported, normalizeDeclaration, processDeclarations, setInitializer, setNameacceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, checkAdd, checkDelete, clone, copy, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, replaceacceptTree, addChild, addChild, addChildren, addInternal, addLeaf, countChildren, createPsiNoLock, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getChars, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getFirstChildNode, getLastChildNode, getPsi, getPsi, getText, getTextLength, hc, rawAddChildren, rawAddChildrenWithoutNotifications, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceChildInternal, setPsi, subtreeChanged, textContains, textMatches, textToCharArraycopyElement, equals, getElementType, getManager, getStartOffset, getStartOffsetInParent, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatchesbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, setInitializercomputeConstantValue, getInitializer, getNameIdentifier, getType, hasInitializer, normalizeDeclaration, setNamegetAnnotation, getAnnotations, hasAnnotation, hasModifier, hasModifierPropertygetIdentifyingElementacceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArraygetUserData, putUserDatagetNavigationElementisWritablecanNavigate, canNavigateToSource, navigategetTypegetCopyableUserData, putCopyableUserDatapublic PsiElement [] getDeclarationScope()
getDeclarationScope in interface PsiResourceVariablepublic PsiTypeElement getTypeElement()
PsiLocalVariablegetTypeElement in interface PsiLocalVariablegetTypeElement in interface PsiVariablegetTypeElement in class PsiLocalVariableImplpublic PsiModifierList getModifierList()
PsiModifierListOwnergetModifierList in interface PsiModifierListOwnergetModifierList in class PsiLocalVariableImplpublic void delete()
throws IncorrectOperationException
PsiElementdelete in interface PsiElementdelete in class CompositePsiElementIncorrectOperationException - if the modification is not supported
or not possible for some reason (for example, the file containing the element is read-only).public void accept(PsiElementVisitor visitor)
PsiElementaccept in interface PsiElementaccept in class PsiLocalVariableImplvisitor - the visitor to pass the element to.public SearchScope getUseScope()
PsiElementgetUseScope in interface PsiElementgetUseScope in class PsiLocalVariableImplPsiSearchHelper.getUseScope(PsiElement)public java.lang.String toString()
PsiElementtoString in interface PsiElementtoString in class PsiLocalVariableImpl