private boolean isSupportedCallType ( Node callNode ) { if ( ! callNode . getFirstChild ( ) . isName ( ) ) { if ( NodeUtil . isFunctionObjectCall ( callNode ) ) { if ( ! assumeStrictThis ) { Node thisValue = callNode . getSecondChild ( ) ; if ( thisValue == null || ! thisValue . isThis ( ) ) { return false ; } } } else if ( NodeUtil . isFunctionObjectApply ( callNode ) ) { return false ; } } return true ; }
Only . call calls and direct calls to functions are supported .