private Statement getSideEffects ( Expression expr ) { Expression sideEffectsExpr = extractSideEffects ( expr ) ; return sideEffectsExpr == null ? null : new ExpressionStatement ( sideEffectsExpr ) ; }
Extracts side effects from the given expression and returns the statement to insert .