code: private void checkRecursiveConfigs(Set<Class> resolvedConfigs, Class<?> configClass) {
          if (resolvedConfigs.contains(configClass)) {
              throw new PropertyLoaderException(String.format("Recursive configuration <%s>", configClass));
          }
      }
docs: Throws an exception if already meet the config.