Home
last modified time | relevance | path

Searched refs:invocationHandler (Results 1 – 7 of 7) sorted by relevance

/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DDexmakerMockMaker.java41 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); in createMock() local
51 invocationHandler); in createMock()
63 handlerField.set(mock, invocationHandler); in createMock()
85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); in getInvocationHandlerAdapter() local
86 return invocationHandler instanceof InvocationHandlerAdapter in getInvocationHandlerAdapter()
87 ? (InvocationHandlerAdapter) invocationHandler in getInvocationHandlerAdapter()
92 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock); in getInvocationHandlerAdapter() local
93 return invocationHandler instanceof InvocationHandlerAdapter in getInvocationHandlerAdapter()
94 ? (InvocationHandlerAdapter) invocationHandler in getInvocationHandlerAdapter()
/external/guice/core/src/com/google/inject/internal/
DConstructionContext.java75 DelegatingInvocationHandler<T> invocationHandler = new DelegatingInvocationHandler<T>(); in createProxy() local
76 invocationHandlers.add(invocationHandler); in createProxy()
83 new Class[] { expectedType, CircularDependencyProxy.class }, invocationHandler)); in createProxy()
/external/dexmaker/
Dbug-8108255.patch11 - classesToMock, invocationHandler);
13 + invocationHandler);
/external/littlemock/src/com/google/testing/littlemock/
DLittleMock.java1157 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);
/external/dexmaker/src/test/java/com/google/dexmaker/stock/
DProxyBuilderTest.java681 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughConcreteClass() local
689 .handler(invocationHandler) in testImplementInterfaceCallingThroughConcreteClass()
705 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughInterface() local
714 .handler(invocationHandler) in testImplementInterfaceCallingThroughInterface()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java336 InvocationHandler invocationHandler = new InvocationHandler() { in get() local
379 new Class[] { factoryRawType }, invocationHandler)); in get()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableListTest.java587 InvocationHandler invocationHandler = new InvocationHandler() {
635 new Class[] {ConcurrentlyMutatedList.class}, invocationHandler);