code: public static void initialize(SingletonProvider instance) {
          synchronized (SingletonProvider.class) {
              if (INSTANCE == null) {
                  INSTANCE = instance;
              } else {
                  throw new RuntimeException("SingletonProvider is already initialized with " + INSTANCE);
              }
          }
      }
docs: Initialize with an explicit instance
  
  @param instance the explicit instance