code: @SuppressWarnings("unchecked")
      public static <T> T getObjectInstance(String className) {
          try {
              Class clazz = Class.forName(className);
              return (T) clazz.newInstance();
          } catch (Exception e) {
              throw new Error(e);
          }
      }
docs: Returns an arbitrary object instance based on a class name.
  
  @param className The name of a desired class to instantiate.