src/main/java/com/github/gquintana/metrics/proxy/ProxyClass.java
public <T> Constructor<T> createConstructor() {
        try {
            return this.<T>createClass().getConstructor(InvocationHandler.class);
        } catch (NoSuchMethodException noSuchMethodException) {
            throw new ProxyException(noSuchMethodException);
        }
    }
public <T> Constructor<T> createConstructor() {
        try {
            return this.<T>createClass().getConstructor(InvocationHandler.class);
        } catch (NoSuchMethodException noSuchMethodException) {
            throw new ProxyException(noSuchMethodException);
        }
    }
Create proxy constructor

Create proxy class
@param <T> Expected proxy type
@return Constructor of proxy for given classloader and interfaces