code: private static Class<?> getBoundGinjector(GinjectorBindings bindings) {
  
      if (bindings.getGinjectorInterface() == null) {
        return null;
      }
  
      TypeLiteral<?> ginjectorInterface = bindings.getGinjectorInterface();
      Key<?> ginjectorKey = Key.get(ginjectorInterface);
  
      if (!bindings.isBound(ginjectorKey)) {
        return null;
      }
  
      if (!(bindings.getBinding(ginjectorKey) instanceof GinjectorBinding)) {
        return null;
      }
  
      return ginjectorInterface.getRawType();
    }
docs: Gets the Ginjector interface that is bound by the given bindings, if any.