docs: public static NameProvider getNameProvider() {
          NameProvider nameProvider = cNameProvider.get();
          if (nameProvider == null) {
              nameProvider = getDefaultNameProvider();
              if (!cNameProvider.compareAndSet(null, nameProvider)) {
                  nameProvider = cNameProvider.get();
              }
          }
          return nameProvider;
      }