code: <T> Class<T> loadClass(String name) throws ClassNotFoundException {
          ClassLoader cl = Thread.currentThread().getContextClassLoader();
          if (null == cl) {
              cl = ToHelper.class.getClassLoader();
          }
          return (Class<T>) cl.loadClass(name);
      }
docs: Load class with given name from the correct class loader.
  
  @param name name of class to load
  @param <T> type of object to create
  @return class instance
  @throws ClassNotFoundException see {@link ClassLoader#loadClass(String)}