Home
last modified time | relevance | path

Searched refs:newProxyInstance (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java50 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 …]
DMethodTest.java617 InterfaceWithDefault proxyWithDefaultMethod = (InterfaceWithDefault) Proxy.newProxyInstance( in testProxyWithDefaultMethods()
DReflectionTest.java547 Object proxy = Proxy.newProxyInstance(getClass().getClassLoader(), in testProxyMethodGetExceptions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java119 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/
DProxy.annotated.java39 @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/
DProxy.java84 public static java.lang.Object newProxyInstance( in newProxyInstance() method in Proxy
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java95 return (A) Proxy.newProxyInstance(annotationType.getClassLoader(), in createAnnotation()
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java854 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/
DInfiniteStreamWithLimitOpTest.java295 return (Spliterator.OfLong) Proxy.newProxyInstance(this.getClass().getClassLoader(),
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java1547 objToSave = Proxy.newProxyInstance(Support_Proxy_I1.class in test_writeObject_Proxy()