code: public Class<?> createContextClass(ClassLoader loader,
                                         Class<?>[] classes,
                                         String[] prefixNames) 
      throws Exception {
                             
  
          ClassInjector classInjector = 
              new ClassInjector(loader, (java.io.File) null, null);
          
          Constructor<?> constructor = null;
          
          constructor = MergedClass.getConstructor(classInjector, 
                                                   classes, 
                                                   prefixNames);
  
          Class<?> mergedContextClass = constructor.getDeclaringClass();
  
          return mergedContextClass;                        
      }
docs: Merges several classes together, producing a new class that has all
  of the methods of the combined classes.  All methods in the combined
  class delegate to instances of the source classes. If multiple classes
  implement the same method, the first one provided is used.
  The merged class implements all of the interfaces provided by the
  source classes or interfaces.
  <p>
  This method uses org.teatrove.trove.util.MergedClass