code: private static Object newInstance(Class<?> clazz) {
          Object instance = null;
          try {
              instance = clazz.newInstance();
          } catch (Exception ex) {
              log.error("Error loading class: {}", clazz.getName(), ex);
          }
          return instance;
      }
docs: Create new class instance
  
  @param clazz
  Class; may not be loaded by JVM yet
  @return Instance of given class