if (left instanceof JArrayAccessExpression) ((JArrayAccessExpression) left) .setAccessor((JExpression) ((JArrayAccessExpression) left) .getAccessor().accept(this));
inLeftHandSide[0] = true; JExpression newLeft = (JExpression)left.accept(this); inLeftHandSide[0] = false; JExpression newRight = (JExpression)right.accept(this);
            public Object visitAssignmentExpression(JAssignmentExpression self,                    JExpression left, JExpression right) {                // Don't visit the left-hand side of the                // expression unless it is an array access,                // in which case visit it to propagate constants                // in the subscripts.                if (left instanceof JArrayAccessExpression)                    ((JArrayAccessExpression) left)                            .setAccessor((JExpression) ((JArrayAccessExpression) left)                                    .getAccessor().accept(this));                return new JAssignmentExpression(self.getTokenReference(),                        left, (JExpression) right.accept(this));            }