code: protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException {
          if (inDefine) {
              if (name.equals(REFLECTOR)) return Reflector.class;
          }
          return super.loadClass(name, resolve);
      }
docs: Loads a class per name. Unlike a normal loadClass this version
  behaves different during a class definition. In that case it
  checks if the class we want to load is Reflector and returns
  class if the check is successful. If it is not during a class
  definition it just calls the super class version of loadClass.
  
  @param name of the class to load
  @param resolve is true if the class should be resolved
  @see Reflector
  @see ClassLoader#loadClass(String, boolean)