code: public static <R, E extends Exception> R uncheck(SupplierWithExceptions<R, E> supplier) {
          try {
              return supplier.get();
          } catch (Exception exception) {
              throwAsUnchecked(exception);
              return null;
          }
      }
docs: uncheck(() -> Class.forName("xxx"));