/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | ExecutableParameterTest.java | 157 ConstructorClass.class.getDeclaredConstructor(Integer.class, Integer.class); in testConstructorGetParameterAnnotations() 164 ConstructorClass.class.getDeclaredConstructor(String.class, String.class); in testConstructorGetParameterAnnotations() 186 return AnnotatedConstructorClass.class.getDeclaredConstructor(Boolean.class); in getConstructorWithoutAnnotations() 190 return AnnotatedConstructorClass.class.getDeclaredConstructor(Long.class); in getConstructorMultipleAnnotationOddity() 195 return AnnotatedConstructorClass.class.getDeclaredConstructor(Double.class); in getConstructorMultipleAnnotationExplicitSingle() 199 return AnnotatedConstructorClass.class.getDeclaredConstructor(Integer.class); in getConstructorMultipleAnnotation() 203 return AnnotatedConstructorClass.class.getDeclaredConstructor(String.class); in getConstructorSingleAnnotation() 236 InnerClass.class.getDeclaredConstructor( in testImplicitConstructorParameters_innerClass() 258 anonymousClassInstance.getClass().getDeclaredConstructor( in testImplicitConstructorParameters_anonymousClass() 277 StaticInnerClass.class.getDeclaredConstructor(String.class); in testImplicitConstructorParameters_staticInnerClass()
|
D | AnnotatedElementParameterTest.java | 87 c.getDeclaredConstructor(Integer.class, Integer.class).getParameters(); in testConstructorParameterAnnotations() 96 c.getDeclaredConstructor(String.class, String.class).getParameters(); in testConstructorParameterAnnotations() 213 return AnnotatedConstructorClass.class.getDeclaredConstructor(Boolean.class); in getConstructorWithoutAnnotations() 217 return AnnotatedConstructorClass.class.getDeclaredConstructor(Long.class); in getConstructorMultipleAnnotationOddity() 222 return AnnotatedConstructorClass.class.getDeclaredConstructor(Double.class); in getConstructorMultipleAnnotationExplicitSingle() 226 return AnnotatedConstructorClass.class.getDeclaredConstructor(String.class); in getConstructorSingleAnnotation() 230 return AnnotatedConstructorClass.class.getDeclaredConstructor(Integer.class); in getConstructorMultipleAnnotation() 454 InnerClass.class.getDeclaredConstructor( in testImplicitConstructorParameters_innerClass() 495 anonymousClassInstance.getClass().getDeclaredConstructor( in testImplicitConstructorParameters_anonymousClass() 534 StaticInnerClass.class.getDeclaredConstructor(String.class); in testImplicitConstructorParameters_staticInnerClass()
|
D | ConstructorTest.java | 159 return c.getDeclaredConstructor(args); in getConstructor()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 109 Constructor<?> constructor = SingleParameter.class.getDeclaredConstructor(String.class); in testSingleParameterConstructor() 132 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); in testSingleParameterConstructor_withMetadata() 165 Constructor<?> constructor = GenericParameter.class.getDeclaredConstructor(Function.class); in testGenericParameterConstructor() 191 Constructor<?> constructor = clazz.getDeclaredConstructor(Function.class); in testGenericParameterConstructor_withMetadata() 226 TwoParameters.class.getDeclaredConstructor(String.class, Integer.class); in testTwoParameterConstructor() 254 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class, Integer.class); in testTwoParameterConstructor_withMetadata() 293 Constructor<?> constructor = FinalParameter.class.getDeclaredConstructor(String.class); in testFinalParameterConstructor() 316 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); in testFinalParameterConstructor_withMetdata() 356 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); in testInnerClassSingleParameter() 372 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); in testInnerClassSingleParameter_withMetadata() [all …]
|
D | ConstructorTest.java | 108 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( in testGetDeclaredConstructorReturnsPrivateConstructor() 154 Constructor c = clazz.getDeclaredConstructor(constructorArgTypes); in checkToString() 181 Constructor c = clazz.getDeclaredConstructor(constructorArgTypes); in checkToGenericString()
|
D | ClassLoaderReflectionTest.java | 132 Constructor<?> c1 = A.class.getDeclaredConstructor(); in testConstructorsOfDifferentClassLoadersAreNotEqual() 133 Constructor<?> c2 = aClass.getDeclaredConstructor(); in testConstructorsOfDifferentClassLoadersAreNotEqual()
|
D | ReflectionTest.java | 132 Constructor constructorOne = C.class.getDeclaredConstructor(A.class); in testConstructorToString() 137 Constructor constructorTwo = C.class.getDeclaredConstructor(Map.class, Object.class); in testConstructorToString() 500 assertEquals(Foo.class.getDeclaredConstructor(String.class), in testClassEnclosedByConstructor()
|
D | OldGenericTypesTest.java | 68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); in testConstructorGenericType()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | NoClassDefFoundErrorTest.java | 24 klass.getDeclaredConstructor(String.class, Throwable.class); in test_NoClassDefFoundError_constructor_with_cause()
|
D | OldClassTest.java | 657 TestClass.class.getDeclaredConstructor(String.class); in test_getDeclaredConstructor$Ljava_lang_Class()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ConstructorTest.java | 235 .getDeclaredConstructor(cl); in test_getModifiers() 246 .getDeclaredConstructor(cl); in test_getModifiers() 414 assertEquals(c2.getDeclaredConstructor(new Class[0]), in test_getConstructor() 415 c2.getDeclaredConstructor((Class[]) null)); in test_getConstructor() 419 c1.getDeclaredConstructor((Class[]) null); in test_getConstructor()
|
D | MalformedParameterizedTypeExceptionTests.java | 14 .getDeclaredConstructor(); in test_Constructor()
|
D | TypeVariableTest.java | 68 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testSimpleTypeVariableOnConstructor() 132 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testMultipleTypeVariablesOnConstructor()
|
D | InvocationTargetExceptionTest.java | 119 .getDeclaredConstructor(); in test_Constructor()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ConsoleTest.java | 50 Console.class.getDeclaredConstructor(InputStream.class, OutputStream.class); in setUp()
|
/libcore/benchmarks/src/benchmarks/ |
D | DeepArrayOpsBenchmark.java | 111 Constructor<V> constructor = type.getDeclaredConstructor(String.class); in new16ElementArray()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileSystems.java | 120 .getDeclaredConstructor(FileSystemProvider.class); in getDefaultProvider()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 261 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]); in test_getDeclaredConstructor$Ljava_lang_Class() 263 c = TestClass.class.getDeclaredConstructor(Object.class); in test_getDeclaredConstructor$Ljava_lang_Class()
|
D | StringTest.java | 38 uc = String.class.getDeclaredConstructor(new Class[] { int.class,
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 153 public java.lang.reflect.Constructor<T> getDeclaredConstructor(java.lang.Class<?>... parameterTypes… in getDeclaredConstructor() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 140 @libcore.util.NonNull public java.lang.reflect.Constructor<T> getDeclaredConstructor(java.lang.@lib… in getDeclaredConstructor() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 298 public java.lang.reflect.Constructor<T> getDeclaredConstructor( in getDeclaredConstructor() method in Class
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 2168 public Constructor<T> getDeclaredConstructor(Class<?>... parameterTypes) in getDeclaredConstructor() method in Class
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 1410 Constructor<X500Principal> cons = pClass.getDeclaredConstructor(args);
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1398 Constructor<?> cons = cl.getDeclaredConstructor((Class<?>[]) null); in getExternalizableConstructor() 1420 Constructor<?> cons = initCl.getDeclaredConstructor((Class<?>[]) null); in getSerializableConstructor()
|