/external/easymock/src/org/easymock/internal/ |
H A D | IProxyFactory.java | 18 import java.lang.reflect.InvocationHandler;
21 T createProxy(Class<T> toMock, InvocationHandler handler);
|
H A D | JavaProxyFactory.java | 18 import java.lang.reflect.InvocationHandler;
23 public T createProxy(Class<T> toMock, InvocationHandler handler) {
|
H A D | MockInvocationHandler.java | 19 import java.lang.reflect.InvocationHandler;
22 public final class MockInvocationHandler implements InvocationHandler, Serializable {
|
H A D | ObjectMethodsFilter.java | 20 import java.lang.reflect.InvocationHandler;
24 public class ObjectMethodsFilter implements InvocationHandler, Serializable {
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
H A D | InvocationHandler.java | 21 * {@link java.lang.reflect.InvocationHandler} replacement (unavailable under JDK 1.2). 25 * @version $Id: InvocationHandler.java,v 1.3 2004/06/24 21:15:20 herbyderby Exp $ 27 public interface InvocationHandler interface in inherits:Callback 31 * @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object)
|
H A D | Proxy.java | 40 protected InvocationHandler h; 56 protected Proxy(InvocationHandler h) { 63 protected ProxyImpl(InvocationHandler h) { 68 public static InvocationHandler getInvocationHandler(Object proxy) { 80 InvocationHandler.class, 92 public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h) { 95 return clazz.getConstructor(new Class[]{ InvocationHandler.class }).newInstance(new Object[]{ h });
|
H A D | CallbackInfo.java | 55 new CallbackInfo(InvocationHandler.class, InvocationHandlerGenerator.INSTANCE),
|
/external/guice/core/src/com/google/inject/internal/ |
H A D | DelegatingInvocationHandler.java | 22 import java.lang.reflect.InvocationHandler; 26 class DelegatingInvocationHandler<T> implements InvocationHandler {
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
H A D | ReflectionTest.java | 23 import java.lang.reflect.InvocationHandler; 51 private static final InvocationHandler X_RETURNER = new InvocationHandler() {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
H A D | ProxyDebuggee.java | 24 import java.lang.reflect.InvocationHandler; 43 static class ProxyInvocationHandler implements InvocationHandler {
|
/external/guava/guava/src/com/google/common/reflect/ |
H A D | AbstractInvocationHandler.java | 21 import java.lang.reflect.InvocationHandler; 29 * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, 45 public abstract class AbstractInvocationHandler implements InvocationHandler { 58 * InvocationHandler} of {@code argument} 105 * <li>and this method returns true for the {@link InvocationHandler} of {@code argument}
|
H A D | Reflection.java | 24 import java.lang.reflect.InvocationHandler; 87 Class<T> interfaceType, InvocationHandler handler) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingTestCase.java | 25 import java.lang.reflect.InvocationHandler; 65 InvocationHandler handler = new InvocationHandler() { 123 InvocationHandler handler = new InvocationHandler() {
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
H A 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/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
H A D | DexmakerMockMaker.java | 21 import java.lang.reflect.InvocationHandler; 41 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler); 85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); 92 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock);
|
H A D | InvocationHandlerAdapter.java | 20 import java.lang.reflect.InvocationHandler; 30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling 33 final class InvocationHandlerAdapter implements InvocationHandler {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | SimpleTimeLimiter.java | 26 import java.lang.reflect.InvocationHandler; 96 InvocationHandler handler = new InvocationHandler() { 190 Class<T> interfaceType, InvocationHandler handler) {
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
H A D | JpaPersistModule.java | 36 import java.lang.reflect.InvocationHandler; 119 InvocationHandler finderInvoker = new InvocationHandler() {
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
H A D | SubstitutableLoggerTest.java | 27 import java.lang.reflect.InvocationHandler; 72 private class LoggerInvocationHandler implements InvocationHandler {
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
H A D | ProxyBuilder.java | 31 import java.lang.reflect.InvocationHandler; 57 * InvocationHandler handler = new InvocationHandler() { 80 * {@link #handler(InvocationHandler)} passing in an {@link InvocationHandler}, and then call 136 private InvocationHandler handler; 160 public ProxyBuilder<T> handler(InvocationHandler handler) { 295 private static void setHandlerInstanceField(Object instance, InvocationHandler handler) { 324 * Returns the proxy's {@link InvocationHandler}. 328 public static InvocationHandler getInvocationHandle [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ |
H A D | ProxyBuilderTest.java | 23 import java.lang.reflect.InvocationHandler; 258 public static class InvokeSuperHandler implements InvocationHandler { 324 InvocationHandler handler = new InvocationHandler() { 401 InvocationHandler delegatesOddValues = new InvocationHandler() { 422 InvocationHandler handler = new InvocationHandler() { 681 InvocationHandler invocationHandler = new InvocationHandler() { [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
H A D | AnnotationImpl.java | 18 import java.lang.reflect.InvocationHandler; 37 public class AnnotationImpl implements InvocationHandler { 239 InvocationHandler ih = Proxy.getInvocationHandler(obj);
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
H A D | FactoryProvider.java | 41 import java.lang.reflect.InvocationHandler; 336 InvocationHandler invocationHandler = new InvocationHandler() {
|
/external/littlemock/src/com/google/testing/littlemock/ |
H A 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 methodHandlerHandle [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
H A D | DuckTypedPSKKeyManagerTest.java | 21 import java.lang.reflect.InvocationHandler; 302 static class MockInvocationHandler implements InvocationHandler {
|