@ Setup public void setup ( ) { proxyInterceptor = MethodDelegation . to ( ByteBuddyProxyInterceptor . class ) ; accessInterceptor = MethodDelegation . to ( ByteBuddyAccessInterceptor . class ) ; prefixInterceptor = MethodDelegation . to ( ByteBuddyPrefixInterceptor . class ) ; baseClassDescription = TypePool . Default . ofSystemLoader ( ) . describe ( baseClass . getName ( ) ) . resolve ( ) ; proxyClassDescription = TypePool . Default . ofSystemLoader ( ) . describe ( ByteBuddyProxyInterceptor . class . getName ( ) ) . resolve ( ) ; accessClassDescription = TypePool . Default . ofSystemLoader ( ) . describe ( ByteBuddyAccessInterceptor . class . getName ( ) ) . resolve ( ) ; prefixClassDescription = TypePool . Default . ofSystemLoader ( ) . describe ( ByteBuddyPrefixInterceptor . class . getName ( ) ) . resolve ( ) ; proxyInterceptorDescription = MethodDelegation . to ( proxyClassDescription ) ; accessInterceptorDescription = MethodDelegation . to ( accessClassDescription ) ; prefixInterceptorDescription = MethodDelegation . to ( prefixClassDescription ) ; }
A setup method to create precomputed delegator .