awaitility-proxy/src/main/java/org/awaitility/proxy/internal/MethodCallRecorder.java
public static Object createProxy(Object target) {
        Object proxy = ByteBuddyProxyCreator.create(target.getClass(), MethodCallInterceptor.class);
        lastTarget.set(target);
        return proxy;
    }
public static Object createProxy(Object target) {
        Object proxy = ByteBuddyProxyCreator.create(target.getClass(), MethodCallInterceptor.class);
        lastTarget.set(target);
        return proxy;
    }
<p>createProxy.</p>

@param target a {@link java.lang.Object} object.
@return a {@link java.lang.Object} object.