Searched refs:InvocationHandler (Results 1 - 25 of 76) sorted by relevance

1234

/external/easymock/src/org/easymock/internal/
H A DIProxyFactory.java18 import java.lang.reflect.InvocationHandler;
21 T createProxy(Class<T> toMock, InvocationHandler handler);
H A DJavaProxyFactory.java18 import java.lang.reflect.InvocationHandler;
23 public T createProxy(Class<T> toMock, InvocationHandler handler) {
H A DMockInvocationHandler.java19 import java.lang.reflect.InvocationHandler;
22 public final class MockInvocationHandler implements InvocationHandler, Serializable {
H A DObjectMethodsFilter.java20 import java.lang.reflect.InvocationHandler;
24 public class ObjectMethodsFilter implements InvocationHandler, Serializable {
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DInvocationHandler.java21 * {@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 DProxy.java40 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 DCallbackInfo.java55 new CallbackInfo(InvocationHandler.class, InvocationHandlerGenerator.INSTANCE),
/external/guice/core/src/com/google/inject/internal/
H A DDelegatingInvocationHandler.java22 import java.lang.reflect.InvocationHandler;
26 class DelegatingInvocationHandler<T> implements InvocationHandler {
/external/guava/guava-tests/test/com/google/common/reflect/
H A DReflectionTest.java23 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 DProxyDebuggee.java24 import java.lang.reflect.InvocationHandler;
43 static class ProxyInvocationHandler implements InvocationHandler {
/external/guava/guava/src/com/google/common/reflect/
H A DAbstractInvocationHandler.java21 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 DReflection.java24 import java.lang.reflect.InvocationHandler;
87 Class<T> interfaceType, InvocationHandler handler) {
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingTestCase.java25 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 DServletTestUtils.java9 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 DDexmakerMockMaker.java21 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 DInvocationHandlerAdapter.java20 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 DSimpleTimeLimiter.java26 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 DJpaPersistModule.java36 import java.lang.reflect.InvocationHandler;
119 InvocationHandler finderInvoker = new InvocationHandler() {
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
H A DSubstitutableLoggerTest.java27 import java.lang.reflect.InvocationHandler;
72 private class LoggerInvocationHandler implements InvocationHandler {
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
H A DProxyBuilder.java31 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 DProxyBuilderTest.java23 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 DAnnotationImpl.java18 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 DFactoryProvider.java41 import java.lang.reflect.InvocationHandler;
336 InvocationHandler invocationHandler = new InvocationHandler() {
/external/littlemock/src/com/google/testing/littlemock/
H A DLittleMock.java23 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 DDuckTypedPSKKeyManagerTest.java21 import java.lang.reflect.InvocationHandler;
302 static class MockInvocationHandler implements InvocationHandler {

Completed in 2806 milliseconds

1234