public interface PsiAssignmentExpression extends PsiExpression
a=b) or a compound assignment (a+=1) expression.Iconable.IconFlags, Iconable.LastComputedIconARRAY_FACTORY, EMPTY_ARRAY, EXPRESSION_TO_TYPEICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Modifier and Type | Method and Description |
|---|---|
PsiExpression |
getLExpression()
Returns the expression on the left side of the assignment.
|
PsiJavaToken |
getOperationSign()
Returns the token representing the assignment operation (
JavaTokenType.EQ for a simple
assignment, JavaTokenType.PLUSEQ etc. |
IElementType |
getOperationTokenType()
Returns the type of the token representing the operation performed.
|
PsiExpression |
getRExpression()
Returns the expression on the right side of the assignment.
|
getTypeaccept, acceptChildren, 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, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringgetUserData, putUserDataPsiExpression getLExpression()
PsiExpression getRExpression()
PsiJavaToken getOperationSign()
JavaTokenType.EQ for a simple
assignment, JavaTokenType.PLUSEQ etc. for a compound assignment).IElementType getOperationTokenType()