boolean (GrExpression expression) { final PsiElement parent = expression.getParent(); if (parent instanceof GrAssignmentExpression assignmentExpression) { final IElementType operation = assignmentExpression.getOperationTokenType(); if (assignmentExpression.getLValue() == expression && operation == GroovyTokenTypes.mPLUS_ASSIGN ) { return true; } } else if (parent instanceof GrBinaryExpression) { return true; } return false; }