Searched defs:proxy (Results 1 - 7 of 7) sorted by relevance

/art/test/044-proxy/src/
H A DClash.java23 * Try to instantiate a proxy class with interfaces that have conflicting
65 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash2.java23 * Try to instantiate a proxy class with interfaces that have conflicting
55 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash3.java23 * Try to instantiate a proxy class with interfaces that have conflicting
70 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash4.java23 * Try to instantiate a proxy class with interfaces that have conflicting
72 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DWrappedThrow.java31 Object proxy;
34 proxy = Proxy.newProxyInstance(WrappedThrow.class.getClassLoader(),
42 InterfaceW1 if1 = (InterfaceW1) proxy;
43 InterfaceW2 if2 = (InterfaceW2) proxy;
176 * Invocation handler for our proxy class.
186 * This is called when anything gets invoked in the proxy object.
188 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DBasicTest.java34 Object proxy = createProxy(proxyMe);
36 if (!Proxy.isProxyClass(proxy.getClass()))
37 System.err.println("not a proxy class?");
38 if (Proxy.getInvocationHandler(proxy) == null)
42 Shapes shapes = (Shapes) proxy;
46 Quads quads = (Quads) proxy;
49 Colors colors = (Colors) proxy;
54 Trace trace = (Trace) proxy;
75 Method[] methods = proxy.getClass().getDeclaredMethods();
86 Arrays.deepToString(proxy
238 invoke(Object proxy, Method method, Object[] args) argument
[all...]
H A DReturnsAndArgPassing.java56 public Object invoke(Object proxy, Method method, Object[] args) { argument
57 check(proxy instanceof Proxy);

Completed in 80 milliseconds