GROOVY-6362: Support for dynamic method calls in @CompileStatic
   * refactored isStaticMethodCallOnReceiver into two distinct methods
   * introduced extractStaticReceiver(methodCall) for that purpose