src/main/java/com/github/gquintana/metrics/proxy/ProxyClass.java
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