ByteBuddyProxyFactory

ByteBuddy-based proxy factory that supports both interfaces and concrete classes. This implementation can create proxies for any class that is not final. Uses Objenesis to instantiate objects without calling constructors, which allows proxying classes that don't have a no-arg constructor. Uses TypeCache to cache generated proxy classes for better performance (thread-safe).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun <T> createProxy(clazz: Class<T>, interceptor: ProxyFactory.MethodInterceptor): @Nullable T