private boolean argsMayHaveSideEffects ( Node call ) { for ( Node currentChild = call . getSecondChild ( ) ; currentChild != null ; currentChild = currentChild . getNext ( ) ) { if ( NodeUtil . mayHaveSideEffects ( currentChild , compiler ) ) { return true ; } } return false ; }
Check whether the given method call s arguments have side effects .