code: static <T extends Com4jObject>
      T create( Class<T> primaryInterface, long ptr ) {
          Wrapper w = new Wrapper(ptr);
          T r = primaryInterface.cast(Proxy.newProxyInstance(
              primaryInterface.getClassLoader(),
              new Class<?>[]{primaryInterface},
                  w));
          return r;
      }
docs: Creates a new proxy object to a given COM pointer.
  <p>
  Must be run from a {@link ComThread}. This method doesn't do AddRef.