Home
last modified time | relevance | path

Searched refs:getDeclaredConstructor (Results 1 – 19 of 19) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DMalformedParameterizedTypeExceptionTests.java14 .getDeclaredConstructor(); in test_Constructor()
DConstructorTest.java235 .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()
DTypeVariableTest.java64 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testSimpleTypeVariableOnConstructor()
115 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testMultipleTypeVariablesOnConstructor()
DInvocationTargetExceptionTest.java119 .getDeclaredConstructor(); in test_Constructor()
/libcore/libart/src/main/java/java/lang/reflect/
DAccessibleObject.java75 if (equals(Class.class.getDeclaredConstructor())) { in setAccessible()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DClassLoaderReflectionTest.java132 Constructor<?> c1 = A.class.getDeclaredConstructor(); in testConstructorsOfDifferentClassLoadersAreNotEqual()
133 Constructor<?> c2 = aClass.getDeclaredConstructor(); in testConstructorsOfDifferentClassLoadersAreNotEqual()
DConstructorTest.java70 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( in testGetDeclaredConstructorReturnsPrivateConstructor()
DReflectionTest.java126 Constructor constructorOne = C.class.getDeclaredConstructor(A.class); in testConstructorToString()
131 Constructor constructorTwo = C.class.getDeclaredConstructor(Map.class, Object.class); in testConstructorToString()
DOldGenericTypesTest.java68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); in testConstructorGenericType()
DAnnotationsTest.java159 assertEquals(Foo.class.getDeclaredConstructor(String.class), in testClassEnclosedByConstructor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java50 Console.class.getDeclaredConstructor(InputStream.class, OutputStream.class); in setUp()
/libcore/benchmarks/src/benchmarks/
DDeepArrayOpsBenchmark.java111 Constructor<V> constructor = type.getDeclaredConstructor(String.class); in new16ElementArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java254 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]); in test_getDeclaredConstructor$Ljava_lang_Class()
256 c = TestClass.class.getDeclaredConstructor(Object.class); in test_getDeclaredConstructor$Ljava_lang_Class()
DStringTest.java38 uc = String.class.getDeclaredConstructor(new Class[] { int.class,
/libcore/libart/src/main/java/java/lang/
DClass.java508 public Constructor<T> getDeclaredConstructor(Class<?>... parameterTypes) in getDeclaredConstructor() method in Class
1561 init = getDeclaredConstructor(); in newInstance()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java605 ? declaringClass.getDeclaredConstructor(parametersArray) in indexToMethod()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java704 constructor = constructorClass.getDeclaredConstructor(EmptyArray.CLASS); in resolveConstructorClass()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java662 TestClass.class.getDeclaredConstructor(String.class); in test_getDeclaredConstructor$Ljava_lang_Class()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java746 Constructor<?> ctor = c.getDeclaredConstructor(long.class, int.class); in testHasArrayOnJniDirectByteBuffer()