public boolean isStaticMethodCallOnClass ( MethodCall call , ClassNode receiver ) { ClassNode staticReceiver = extractStaticReceiver ( call ) ; return staticReceiver != null && staticReceiver . equals ( receiver ) ; }
Given a method call checks if it s a static method call and if it is tells if the receiver matches the one supplied as an argument .