code: public Class defineClass(ClassFile cf) {
          try {
              cf.writeTo(openStream());
          } catch (IOException e) {
              throw new InternalError(e.toString());
          }
          return getNewClass();
      }
docs: Define the new class from a ClassFile object.
  
  @return the newly created class
  @throws IllegalStateException if new class has already been defined
  or if a stream has already been opened