Searched refs:newProxyInstance (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ProxyTest.java | 50 Proxy.newProxyInstance(loaderB, interfacesA, returnHandler); in testClassLoaderMustSeeImplementedInterfaces() 64 Object proxy = Proxy.newProxyInstance(loaderA, interfacesA, invocationHandlerB); in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader() 71 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsFloat.class}, in testIncompatibleReturnTypesPrimitiveAndPrimitive() 80 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsInteger.class}, in testIncompatibleReturnTypesPrimitiveAndWrapper() 89 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsVoid.class}, in testIncompatibleReturnTypesPrimitiveAndVoid() 98 Proxy.newProxyInstance(loader, new Class[] {ReturnsInteger.class, ReturnsString.class }, in testIncompatibleReturnTypesIncompatibleObjects() 106 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsCharSequence.class}, in testCompatibleReturnTypesImplementedInterface() 108 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class, in testCompatibleReturnTypesImplementedInterface() 110 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class, in testCompatibleReturnTypesImplementedInterface() 117 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsObject.class}, in testCompatibleReturnTypesSuperclass() [all …]
|
D | MethodTest.java | 617 InterfaceWithDefault proxyWithDefaultMethod = (InterfaceWithDefault) Proxy.newProxyInstance( in testProxyWithDefaultMethods()
|
D | ReflectionTest.java | 547 Object proxy = Proxy.newProxyInstance(getClass().getClassLoader(), in testProxyMethodGetExceptions()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ProxyTest.java | 119 Object p = Proxy.newProxyInstance(Support_Proxy_I1.class in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 174 Broken1 proxyObject = (Broken1) Proxy.newProxyInstance(Broken1.class in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 227 Object p = Proxy.newProxyInstance(Support_Proxy_I1.class in test_getInvocationHandlerLjava_lang_Object() 243 .newProxyInstance(this.getClass().getClassLoader(), in test_newProxyInstance_withCompatibleReturnTypes() 252 Proxy.newProxyInstance(this.getClass().getClassLoader(), in test_newProxyInstance_withNonCompatibleReturnTypes()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Proxy.annotated.java | 39 @libcore.util.NonNull public static java.lang.Object newProxyInstance(@libcore.util.Nullable java.l… in newProxyInstance() method in Proxy
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Proxy.java | 84 public static java.lang.Object newProxyInstance( in newProxyInstance() method in Proxy
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationFactory.java | 95 return (A) Proxy.newProxyInstance(annotationType.getClassLoader(), in createAnnotation()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 854 public static Object newProxyInstance(ClassLoader loader, in newProxyInstance() method in Proxy
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | InfiniteStreamWithLimitOpTest.java | 295 return (Spliterator.OfLong) Proxy.newProxyInstance(this.getClass().getClassLoader(),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 1547 objToSave = Proxy.newProxyInstance(Support_Proxy_I1.class in test_writeObject_Proxy()
|