/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
D | Proxy.java | 40 protected InvocationHandler h; 56 protected Proxy(InvocationHandler h) { in Proxy() 63 protected ProxyImpl(InvocationHandler h) { in ProxyImpl() 68 public static InvocationHandler getInvocationHandler(Object proxy) { in getInvocationHandler() 80 InvocationHandler.class, in getProxyClass() 92 …public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)… in newProxyInstance() 95 …return clazz.getConstructor(new Class[]{ InvocationHandler.class }).newInstance(new Object[]{ h }); in newProxyInstance()
|
D | InvocationHandler.java | 27 public interface InvocationHandler interface
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingTestCase.java | 25 import java.lang.reflect.InvocationHandler; 65 InvocationHandler handler = new InvocationHandler() { in createProxyInstance() 123 InvocationHandler handler = new InvocationHandler() { in getDefaultValue()
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
D | ProxyBuilder.java | 31 import java.lang.reflect.InvocationHandler; 136 private InvocationHandler handler; 160 public ProxyBuilder<T> handler(InvocationHandler handler) { in handler() 295 private static void setHandlerInstanceField(Object instance, InvocationHandler handler) { in setHandlerInstanceField() 328 public static InvocationHandler getInvocationHandler(Object instance) { in getInvocationHandler() 332 return (InvocationHandler) field.get(instance); in getInvocationHandler() 358 TypeId<InvocationHandler> handlerType = TypeId.get(InvocationHandler.class); in generateCodeForAllMethods() 360 FieldId<G, InvocationHandler> handlerField = in generateCodeForAllMethods() 366 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, in generateCodeForAllMethods() 425 Local<InvocationHandler> localHandler = code.newLocal(handlerType); in generateCodeForAllMethods() [all …]
|
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ |
D | ProxyBuilderTest.java | 23 import java.lang.reflect.InvocationHandler; 258 public static class InvokeSuperHandler implements InvocationHandler { 324 InvocationHandler handler = new InvocationHandler() { in testSinglePrimitiveParameter() 401 InvocationHandler delegatesOddValues = new InvocationHandler() { in testSometimesDelegateToSuper() 422 InvocationHandler handler = new InvocationHandler() { in testCallSuperThrows() 681 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughConcreteClass() 705 InvocationHandler invocationHandler = new InvocationHandler() { in testImplementInterfaceCallingThroughInterface() 739 InvocationHandler handler = new InvocationHandler() { in testInterfacesSameNamesDifferentReturnTypes() 829 private static class FakeInvocationHandler implements InvocationHandler {
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
D | DexmakerMockMaker.java | 21 import java.lang.reflect.InvocationHandler; 41 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); in createMock() 85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); in getInvocationHandlerAdapter() 92 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock); in getInvocationHandlerAdapter()
|
D | InvocationHandlerAdapter.java | 20 import java.lang.reflect.InvocationHandler; 33 final class InvocationHandlerAdapter implements InvocationHandler {
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ReflectionTest.java | 23 import java.lang.reflect.InvocationHandler; 51 private static final InvocationHandler X_RETURNER = new InvocationHandler() {
|
/external/easymock/src/org/easymock/internal/ |
D | IProxyFactory.java | 18 import java.lang.reflect.InvocationHandler; 21 T createProxy(Class<T> toMock, InvocationHandler handler); in createProxy()
|
D | JavaProxyFactory.java | 18 import java.lang.reflect.InvocationHandler; 23 public T createProxy(Class<T> toMock, InvocationHandler handler) { in createProxy()
|
D | MockInvocationHandler.java | 19 import java.lang.reflect.InvocationHandler; 22 public final class MockInvocationHandler implements InvocationHandler, Serializable {
|
D | ObjectMethodsFilter.java | 20 import java.lang.reflect.InvocationHandler; 24 public class ObjectMethodsFilter implements InvocationHandler, Serializable {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SimpleTimeLimiter.java | 26 import java.lang.reflect.InvocationHandler; 96 InvocationHandler handler = new InvocationHandler() { in newProxy() 190 Class<T> interfaceType, InvocationHandler handler) { in newProxy()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletTestUtils.java | 9 import java.lang.reflect.InvocationHandler; 31 private static class ThrowingInvocationHandler implements InvocationHandler { 99 private static class FakeHttpSessionHandler implements InvocationHandler, Serializable {
|
/external/guice/core/src/com/google/inject/internal/ |
D | DelegatingInvocationHandler.java | 22 import java.lang.reflect.InvocationHandler; 26 class DelegatingInvocationHandler<T> implements InvocationHandler {
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Reflection.java | 24 import java.lang.reflect.InvocationHandler; 87 Class<T> interfaceType, InvocationHandler handler) { in newProxy()
|
D | AbstractInvocationHandler.java | 21 import java.lang.reflect.InvocationHandler; 45 public abstract class AbstractInvocationHandler implements InvocationHandler {
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
D | JpaPersistModule.java | 36 import java.lang.reflect.InvocationHandler; 119 InvocationHandler finderInvoker = new InvocationHandler() { in bindFinder()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
D | ProxyDebuggee.java | 24 import java.lang.reflect.InvocationHandler; 43 static class ProxyInvocationHandler implements InvocationHandler {
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | LittleMock.java | 23 import java.lang.reflect.InvocationHandler; 586 private static class DefaultInvocationHandler implements InvocationHandler { 684 return createProxy(clazz, new InvocationHandler() { 706 return createProxy(clazz, new InvocationHandler() { 1157 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); 1175 InvocationHandler invocationHandler = Proxy.getInvocationHandler(methodHandler); 1195 private static Object createProxy(Class<?> clazz, final InvocationHandler handler) { 1208 InvocationHandler methodFilterHandler = new InvocationHandler() { 1239 InvocationHandler methodHandlerHandler = new InvocationHandler() { 1241 public InvocationHandler $$getOriginal() {
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
D | SubstitutableLoggerTest.java | 27 import java.lang.reflect.InvocationHandler; 72 private class LoggerInvocationHandler implements InvocationHandler {
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
D | AnnotationImpl.java | 18 import java.lang.reflect.InvocationHandler; 37 public class AnnotationImpl implements InvocationHandler { 239 InvocationHandler ih = Proxy.getInvocationHandler(obj); in checkEquals()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 41 import java.lang.reflect.InvocationHandler; 336 InvocationHandler invocationHandler = new InvocationHandler() { in get()
|
/external/dexmaker/ |
D | bug-10862083.patch | 5 @@ -45,11 +45,6 @@ final class InvocationHandlerAdapter implements InvocationHandler {
|
/external/conscrypt/src/test/java/org/conscrypt/ |
D | DuckTypedPSKKeyManagerTest.java | 21 import java.lang.reflect.InvocationHandler; 302 static class MockInvocationHandler implements InvocationHandler {
|