Searched refs:invocationHandler (Results 1 – 7 of 7) sorted by relevance
41 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); in createMock() local51 invocationHandler); in createMock()63 handlerField.set(mock, invocationHandler); in createMock()85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); in getInvocationHandlerAdapter() local86 return invocationHandler instanceof InvocationHandlerAdapter in getInvocationHandlerAdapter()87 ? (InvocationHandlerAdapter) invocationHandler in getInvocationHandlerAdapter()92 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock); in getInvocationHandlerAdapter() local93 return invocationHandler instanceof InvocationHandlerAdapter in getInvocationHandlerAdapter()94 ? (InvocationHandlerAdapter) invocationHandler in getInvocationHandlerAdapter()
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);
1157 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock);1158 if (invocationHandler instanceof DefaultInvocationHandler) {1159 return (DefaultInvocationHandler) invocationHandler;1165 Object invocationHandler = getHandlerMethod.invoke(proxyBuilder, mock);1166 if (invocationHandler instanceof DefaultInvocationHandler) {1167 return (DefaultInvocationHandler) invocationHandler;1175 InvocationHandler invocationHandler = Proxy.getInvocationHandler(methodHandler);1176 Method getOriginalMethod = invocationHandler.getClass().getMethod("$$getOriginal");1177 Object original = getOriginalMethod.invoke(invocationHandler);
681 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughConcreteClass() local689 .handler(invocationHandler) in testImplementInterfaceCallingThroughConcreteClass()705 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughInterface() local714 .handler(invocationHandler) in testImplementInterfaceCallingThroughInterface()
336 InvocationHandler invocationHandler = new InvocationHandler() { in get() local379 new Class[] { factoryRawType }, invocationHandler)); in get()
587 InvocationHandler invocationHandler = new InvocationHandler() {635 new Class[] {ConcurrentlyMutatedList.class}, invocationHandler);