code: public static Goro from(final IBinder binder) {
      if (binder instanceof GoroService.GoroBinder) {
        return ((GoroService.GoroBinder) binder).goro();
      }
      throw new IllegalArgumentException("Cannot get Goro from " + binder);
    }
docs: Gives access to Goro instance that is provided by a service.
  @param binder Goro service binder
  @return Goro instance provided by the service