public abstract class ImplicitVariableImpl extends LightVariableBase implements ImplicitVariable
Iconable.IconFlags, Iconable.LastComputedIconmyModifierList, myNameIdentifier, myScope, myType, myWritablemyManagerFLAGS_LOCKED, ICON_PLACEHOLDEREMPTY_ARRAYARRAY_FACTORYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_ARRAYEMPTY_NAVIGATABLE_ELEMENT_ARRAYEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description |
|---|
ImplicitVariableImpl(PsiManager manager,
PsiIdentifier nameIdentifier,
PsiType type,
boolean writable,
PsiElement scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
SearchScope |
getUseScope()
Returns the scope in which references to this element are searched.
|
void |
setInitializer(PsiExpression initializer)
Adds initializer to the variable declaration statement or, if
initializer
parameter is null, removes initializer from variable. |
java.lang.String |
toString()
toString() should never be presented to the user.
|
computeConstantValue, computeType, createModifierList, getDeclarationScope, getElementIcon, getInitializer, getModifierList, getName, getNameIdentifier, getOriginInfo, getText, getType, getTypeElement, hasInitializer, hasModifierProperty, isValid, isVisibilitySupported, isWritable, normalizeDeclaration, setName, setOriginInfoadd, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNavigationElement, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, replace, setNavigationElement, textMatches, textMatches, textToCharArrayacceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclarationScopegetName, getTypeElementcomputeConstantValue, getInitializer, getNameIdentifier, getType, hasInitializer, normalizeDeclaration, setNamegetAnnotation, getAnnotations, getModifierList, hasAnnotation, hasModifier, hasModifierPropertygetIdentifyingElementacceptChildren, 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, 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, navigatepublic ImplicitVariableImpl(PsiManager manager, PsiIdentifier nameIdentifier, PsiType type, boolean writable, PsiElement scope)
public void accept(PsiElementVisitor visitor)
PsiElementaccept in interface PsiElementaccept in class LightElementvisitor - the visitor to pass the element to.public java.lang.String toString()
PsiElementtoString in interface PsiElementtoString in class LightElementpublic void setInitializer(PsiExpression initializer) throws IncorrectOperationException
PsiLocalVariableinitializer
parameter is null, removes initializer from variable.setInitializer in interface PsiLocalVariablesetInitializer in interface PsiVariableinitializer - the initializer to add.IncorrectOperationException - if the modifications fails for some reason.public SearchScope getUseScope()
PsiElementgetUseScope in interface PsiElementgetUseScope in class PsiElementBasePsiSearchHelper.getUseScope(PsiElement)