code: @SuppressWarnings("unchecked")
      public static <T> List<? extends T> getObjectList(Config config, String path, Class<T> clazz) {
          List<? extends Object> objList = getObjectList(config, path);
          if (objList == null) {
  
          }
          if (objList.size() == 0) {
              return Collections.emptyList();
          }
          return clazz.isAssignableFrom(objList.get(0).getClass()) ? (List<? extends T>) objList
                  : null;
      }
docs: Get a configuration as list of Java objects. Return {@code null} if missing or wrong type.
  
  @param config
  @param path
  @param clazz
  @return