code: public static Object createDynamicInstance(Class<?> cls) throws IOException
      {
          GenClassCompiler pc = GenClassCompiler.compile(El.getTypeElement(cls.getCanonicalName()), null);
          return pc.loadDynamic();
      }
docs: Creates instance of implementation class and loads it dynamic. This method
  is used in testing.
  @param cls
  @return
  @throws IOException