code: public <T> Class<T> createClass() {
          return (Class<T>) Proxy.getProxyClass(getClassLoader(), getInterfaces());
      }
docs: Create proxy class
  @param <T> Expected proxy type
  @return Class of proxy for given classloader and interfaces