Home
last modified time | relevance | path

Searched refs:InvocationHandler (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java22 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( in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader()
248 InvocationHandler handler = new InvocationHandler() { in testEquals()
261 InvocationHandler handler = new InvocationHandler() { in testHashCode()
271 InvocationHandler handler = new InvocationHandler() { in testToString()
281 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithLenientCaller()
293 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithStrictCaller()
394 public static class TestInvocationHandler implements InvocationHandler {
[all …]
DMethodTest.java19 import java.lang.reflect.InvocationHandler;
609 InvocationHandler invocationHandler = new InvocationHandler() { in testProxyWithDefaultMethods()
DReflectionTest.java23 import java.lang.reflect.InvocationHandler;
541 InvocationHandler emptyInvocationHandler = new InvocationHandler() { in testProxyMethodGetExceptions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java25 import java.lang.reflect.InvocationHandler;
54 class Broken1Invoke implements InvocationHandler {
62 protected ProxyCoonstructorTest(InvocationHandler h) { in ProxyCoonstructorTest()
103 assertNotNull(new ProxyCoonstructorTest(new InvocationHandler() { in test_ProxyLjava_lang_reflect_InvocationHandler()
121 Support_Proxy_I2.class }, new InvocationHandler() { in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
195 Proxy fake = new Proxy(new InvocationHandler() { in test_isProxyClassLjava_lang_Class()
220 InvocationHandler handler = new InvocationHandler() { in test_getInvocationHandlerLjava_lang_Object()
296 public static class TestProxyHandler implements InvocationHandler {
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DProxy.annotated.java35 protected Proxy(@libcore.util.NonNull java.lang.reflect.InvocationHandler h) { throw new RuntimeExc… in Proxy()
39 …util.NonNull [] interfaces, @libcore.util.NonNull java.lang.reflect.InvocationHandler h) throws ja… in newProxyInstance()
43 @libcore.util.NonNull public static java.lang.reflect.InvocationHandler getInvocationHandler(@libco… in getInvocationHandler()
45 protected java.lang.reflect.InvocationHandler h;
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java245 { InvocationHandler.class };
257 protected InvocationHandler h;
275 protected Proxy(InvocationHandler h) { in Proxy()
856 InvocationHandler h) in newProxyInstance()
887 final InvocationHandler ih = h; in newProxyInstance()
975 public static InvocationHandler getInvocationHandler(Object proxy) in getInvocationHandler()
986 final InvocationHandler ih = p.h; in getInvocationHandler()
1005 InvocationHandler h = proxy.h; in invoke()
DInvocationHandler.java41 public interface InvocationHandler { interface
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DProxy.java38 protected Proxy(java.lang.reflect.InvocationHandler h) { in Proxy()
87 java.lang.reflect.InvocationHandler h) in newProxyInstance()
96 public static java.lang.reflect.InvocationHandler getInvocationHandler(java.lang.Object proxy) in getInvocationHandler()
121 protected java.lang.reflect.InvocationHandler h;
/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java27 import java.lang.reflect.InvocationHandler;
402 public static class SerializableInvocationHandler implements InvocationHandler, Serializable {
432 implements InvocationHandler /*, Serializable*/ {
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java25 import java.lang.reflect.InvocationHandler;
49 public final class AnnotationFactory implements InvocationHandler, Serializable {
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DInfiniteStreamWithLimitOpTest.java37 import java.lang.reflect.InvocationHandler;
279 InvocationHandler ih = new InvocationHandler() {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashMapTest.java24 import java.lang.reflect.InvocationHandler;
73 class MockHandler implements InvocationHandler {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java24 import java.lang.reflect.InvocationHandler;
1507 static class MyInvocationHandler implements InvocationHandler, Serializable {
1546 InvocationHandler handler = new MyInvocationHandler(); in test_writeObject_Proxy()
/libcore/
Dopenjdk_java_files.bp198 "ojluni/src/main/java/java/lang/reflect/InvocationHandler.java",
DEXPECTED_UPSTREAM293 …ava/java/lang/reflect/InvocationHandler.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/jav…
/libcore/api/
Dcurrent.txt5072 public interface InvocationHandler {
5179 ctor protected Proxy(@NonNull java.lang.reflect.InvocationHandler);
5180 …method @NonNull public static java.lang.reflect.InvocationHandler getInvocationHandler(@NonNull Ob…
5183 …llable ClassLoader, @NonNull Class<?>[], @NonNull java.lang.reflect.InvocationHandler) throws java…
5184 field protected java.lang.reflect.InvocationHandler h;