code: static Class<?> reloadClass(ClassLoader cl, Class<?> classType) throws InvocationException {
          try {
              return cl.loadClass(classType.getName());
          } catch (ClassNotFoundException e) {
              throw new InvocationException(e, "Unable to reload class {0} with class loader {1}, previously loaded with {2}",
                      classType.getName(), cl, classType.getClassLoader());
          }
      }
docs: Reloads a class from classloader using same fully qualified class name
  
  @param cl classloader to be used
  @param classType class object
  @return
  @throws InvocationException if class was not found in classloader