public class ClsClassObjectAccessExpressionImpl extends ClsElementImpl implements PsiClassObjectAccessExpression
ClsElementImpl.InvalidMirrorException
Iconable.IconFlags, Iconable.LastComputedIcon
COMPILED_ELEMENT, NEXT_LINE
FLAGS_LOCKED, ICON_PLACEHOLDER
ARRAY_FACTORY, EMPTY_ARRAY, EXPRESSION_TO_TYPE
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
ClsClassObjectAccessExpressionImpl(ClsElementImpl parent,
java.lang.String canonicalClassText) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
void |
appendMirrorText(int indentLevel,
java.lang.StringBuilder buffer) |
PsiElement [] |
getChildren()
Returns the array of children for the PSI element.
|
javax.swing.Icon |
getElementIcon(int flags) |
PsiTypeElement |
getOperand()
Returns the type element for the class referenced by the expression.
|
PsiElement |
getParent()
Returns the parent of the PSI element.
|
java.lang.String |
getText()
Returns the text of the PSI element.
|
PsiType |
getType()
Returns the type of the expression.
|
void |
setMirror(TreeElement element) |
add, addAfter, addBefore, appendText, appendText, checkAdd, checkDelete, copy, delete, findElementAt, findReferenceAt, getChildren, getContainingFile, getIndentSize, getLanguage, getManager, getMirror, getNode, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, isWritable, replace, setMirror, setMirrorCheckingType, setMirrorIfPresent, setMirrors, setMirrors, textMatches, textMatches, textToCharArray
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, getContext, getFirstChild, getLastChild, getName, getNavigationElement, getNextSibling, getOriginalElement, getPresentation, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
getUserData, putUserData
public ClsClassObjectAccessExpressionImpl(ClsElementImpl parent, java.lang.String canonicalClassText)
public void appendMirrorText(int indentLevel, java.lang.StringBuilder buffer)
appendMirrorText
in class ClsElementImpl
public void setMirror(TreeElement element) throws ClsElementImpl.InvalidMirrorException
setMirror
in class ClsElementImpl
ClsElementImpl.InvalidMirrorException
public PsiElement [] getChildren()
PsiElement
getChildren
in interface PsiElement
public PsiElement getParent()
PsiElement
getParent
in interface PsiElement
public void accept(PsiElementVisitor visitor)
PsiElement
accept
in interface PsiElement
accept
in class PsiElementBase
visitor
- the visitor to pass the element to.public PsiTypeElement getOperand()
PsiClassObjectAccessExpression
getOperand
in interface PsiClassObjectAccessExpression
public PsiType getType()
PsiExpression
getType
in interface PsiClassObjectAccessExpression
getType
in interface PsiExpression
public java.lang.String getText()
PsiElement
getText
in interface PsiElement
getText
in class ClsElementImpl
PsiElement.textMatches(java.lang.CharSequence)
,
PsiElement.textContains(char)
public javax.swing.Icon getElementIcon(int flags)
getElementIcon
in class ElementBase