Searched refs:InvocationHandler (Results 1 – 16 of 16) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | 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( 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 …]
|
D | MethodTest.java | 19 import java.lang.reflect.InvocationHandler; 609 InvocationHandler invocationHandler = new InvocationHandler() { in testProxyWithDefaultMethods()
|
D | ReflectionTest.java | 23 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/ |
D | ProxyTest.java | 25 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/ |
D | Proxy.annotated.java | 35 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/ |
D | Proxy.java | 245 { 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()
|
D | InvocationHandler.java | 41 public interface InvocationHandler { interface
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Proxy.java | 38 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/ |
D | SerializationTest.java | 27 import java.lang.reflect.InvocationHandler; 402 public static class SerializableInvocationHandler implements InvocationHandler, Serializable { 432 implements InvocationHandler /*, Serializable*/ {
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationFactory.java | 25 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/ |
D | InfiniteStreamWithLimitOpTest.java | 37 import java.lang.reflect.InvocationHandler; 279 InvocationHandler ih = new InvocationHandler() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | HashMapTest.java | 24 import java.lang.reflect.InvocationHandler; 73 class MockHandler implements InvocationHandler {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 24 import java.lang.reflect.InvocationHandler; 1507 static class MyInvocationHandler implements InvocationHandler, Serializable { 1546 InvocationHandler handler = new MyInvocationHandler(); in test_writeObject_Proxy()
|
/libcore/ |
D | openjdk_java_files.bp | 198 "ojluni/src/main/java/java/lang/reflect/InvocationHandler.java",
|
D | EXPECTED_UPSTREAM | 293 …ava/java/lang/reflect/InvocationHandler.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/jav…
|
/libcore/api/ |
D | current.txt | 5072 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;
|