code: @SuppressWarnings("rawtypes")
      public static Class loadClass(String name) throws ClassNotFoundException {
          ClassLoader loader = Thread.currentThread().getContextClassLoader();
          return (loader == null) ? Class.forName(name) : loader.loadClass(name);
      }
docs: Load a class.
  <p>
  Load a class either from the thread context classloader or if none, the
  system loader
  </p>
  
  @param name the name of the new class to load
  @return Class
  @throws ClassNotFoundException if not able to find the class