boolean (@NotNull ASTNode child) { IElementType childType = child.getElementType(); if (childType == JavaElementType.EXPRESSION_STATEMENT) { ASTNode expressionNode = child.getFirstChildNode(); if (expressionNode != null && expressionNode.getElementType() == JavaElementType.ASSIGNMENT_EXPRESSION) { return true; } } return false; }