Searched refs:invocationHandler (Results 1 – 6 of 6) sorted by relevance
43 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); in createMock() local52 …T mock = (T) Proxy.newProxyInstance(typeToMock.getClassLoader(), classesToMock, invocationHandler); in createMock()62 ProxyBuilder.setInvocationHandler(mock, invocationHandler); in createMock()126 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock);127 return invocationHandler instanceof InvocationHandlerAdapter128 ? (InvocationHandlerAdapter) invocationHandler133 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock);134 return invocationHandler instanceof InvocationHandlerAdapter135 ? (InvocationHandlerAdapter) invocationHandler
75 DelegatingInvocationHandler<T> invocationHandler = new DelegatingInvocationHandler<T>(); in createProxy() local76 invocationHandlers.add(invocationHandler); in createProxy()83 new Class[] { expectedType, CircularDependencyProxy.class }, invocationHandler)); in createProxy()
11 - classesToMock, invocationHandler);13 + invocationHandler);
336 InvocationHandler invocationHandler = new InvocationHandler() { in get() local379 new Class[] { factoryRawType }, invocationHandler)); in get()
771 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughConcreteClass() local779 .handler(invocationHandler) in testImplementInterfaceCallingThroughConcreteClass()796 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughInterface() local805 .handler(invocationHandler) in testImplementInterfaceCallingThroughInterface()
587 InvocationHandler invocationHandler = new InvocationHandler() {635 new Class[] {ConcurrentlyMutatedList.class}, invocationHandler);