code: public Class<?> addClassBytes(String name, byte[] classBytes) {
          Class<?> newClass = defineClass(name, classBytes, 0, classBytes.length);
          resolveClass(newClass);
          localClassCache.put(newClass.getName(), newClass);
          return newClass;
      }
docs: Manually add the compiled classes to this classloader. This method will
  define and resolve the class, binding this classloader to the class.
  @return the loaded class