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