HomeSort by relevance Sort by last modified time
    Searched refs:InvocationHandler (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /external/easymock/src/org/easymock/internal/
IProxyFactory.java 18 import java.lang.reflect.InvocationHandler;
21 T createProxy(Class<T> toMock, InvocationHandler handler);
JavaProxyFactory.java 18 import java.lang.reflect.InvocationHandler;
23 public T createProxy(Class<T> toMock, InvocationHandler handler) {
MockInvocationHandler.java 19 import java.lang.reflect.InvocationHandler;
22 public final class MockInvocationHandler implements InvocationHandler, Serializable {
  /libcore/luni/src/main/java/java/lang/reflect/
InvocationHandler.java 25 public interface InvocationHandler {
  /libcore/support/src/test/java/tests/io/
MockOs.java 21 import java.lang.reflect.InvocationHandler;
37 private final InheritableThreadLocal<Map<String, Deque<InvocationHandler>>> handlers
38 = new InheritableThreadLocal<Map<String, Deque<InvocationHandler>>>() {
39 @Override protected Map<String, Deque<InvocationHandler>> initialValue() {
40 return new HashMap<String, Deque<InvocationHandler>>();
45 private final InvocationHandler delegateHandler = new InvocationHandler() {
55 private final InvocationHandler invocationHandler = new InvocationHandler() {
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
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
31 * @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object)
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 });
  /art/test/044-proxy/src/
Clash.java 17 import java.lang.reflect.InvocationHandler;
28 InvocationHandler handler = new ClashInvocationHandler();
63 class ClashInvocationHandler implements InvocationHandler {
Clash2.java 17 import java.lang.reflect.InvocationHandler;
28 InvocationHandler handler = new Clash2InvocationHandler();
53 class Clash2InvocationHandler implements InvocationHandler {
Clash3.java 17 import java.lang.reflect.InvocationHandler;
28 InvocationHandler handler = new Clash3InvocationHandler();
68 class Clash3InvocationHandler implements InvocationHandler {
Clash4.java 17 import java.lang.reflect.InvocationHandler;
28 InvocationHandler handler = new Clash4InvocationHandler();
70 class Clash4InvocationHandler implements InvocationHandler {
FloatSelect.java 28 static class FloatSelectIInvoke1 implements InvocationHandler {
  /external/guava/guava-tests/test/com/google/common/reflect/
ReflectionTest.java 23 import java.lang.reflect.InvocationHandler;
51 private static final InvocationHandler X_RETURNER = new InvocationHandler() {
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ProxyTest.java 22 import java.lang.reflect.InvocationHandler;
32 private final InvocationHandler returnHandler = new TestInvocationHandler();
33 private final InvocationHandler throwHandler = new InvocationHandler() {
60 InvocationHandler invocationHandlerB = (InvocationHandler) loaderB.loadClass(
248 InvocationHandler handler = new InvocationHandler() {
261 InvocationHandler handler = new InvocationHandler() {
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
ProxyTest.java 25 import java.lang.reflect.InvocationHandler;
54 class Broken1Invoke implements InvocationHandler {
62 protected ProxyCoonstructorTest(InvocationHandler h) {
100 * java.lang.reflect.Proxy#Proxy(java.lang.reflect.InvocationHandler)
103 assertNotNull(new ProxyCoonstructorTest(new InvocationHandler() {
115 * java.lang.Class[], java.lang.reflect.InvocationHandler)
121 Support_Proxy_I2.class }, new InvocationHandler() {
195 Proxy fake = new Proxy(new InvocationHandler() {
220 InvocationHandler handler = new InvocationHandler() {
    [all...]
  /cts/tools/signature-tools/src/signature/model/impl/
Uninitialized.java 19 import java.lang.reflect.InvocationHandler;
47 Set.class, List.class}, new InvocationHandler() {
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
ProxyDebuggee.java 24 import java.lang.reflect.InvocationHandler;
43 static class ProxyInvocationHandler implements InvocationHandler {
  /external/guava/guava/src/com/google/common/reflect/
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}
Reflection.java 24 import java.lang.reflect.InvocationHandler;
87 Class<T> interfaceType, InvocationHandler handler) {
  /external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java 21 import java.lang.reflect.InvocationHandler;
41 InvocationHandler invocationHandler = new InvocationHandlerAdapter(handler);
51 invocationHandler);
63 handlerField.set(mock, invocationHandler);
85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock);
86 return invocationHandler instanceof InvocationHandlerAdapter
87 ? (InvocationHandlerAdapter) invocationHandler
92 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock)
    [all...]
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/
SimpleTimeLimiter.java 26 import java.lang.reflect.InvocationHandler;
96 InvocationHandler handler = new InvocationHandler() {
190 Class<T> interfaceType, InvocationHandler handler) {
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/
RemoteObject.java 36 import java.lang.reflect.InvocationHandler;
46 public class RemoteObject implements InvocationHandler {
131 * Callback from InvocationHandler.
  /libcore/libart/src/main/java/java/lang/reflect/
Proxy.java 33 * invocations to an {@code InvocationHandler}.
35 * @see InvocationHandler
70 protected InvocationHandler h;
83 protected Proxy(InvocationHandler h) {
210 * @param invocationHandler
220 InvocationHandler invocationHandler)
223 if (invocationHandler == null) {
224 throw new NullPointerException("invocationHandler == null");
229 .getConstructor(InvocationHandler.class
    [all...]
  /art/test/004-JniTest/src/
Main.java 17 import java.lang.reflect.InvocationHandler;
205 private static class DummyInvocationHandler implements InvocationHandler {
212 InvocationHandler handler = new DummyInvocationHandler();

Completed in 982 milliseconds

1 2 3 4 5 6 7