/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ConstructorTest.java | 26 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); in test_getExceptionTypes() local 39 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterTypes() local 56 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterCount() local 67 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameters() local 87 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null); in testGetConstructorWithNullArgumentsArray() local 108 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( in testGetDeclaredConstructorReturnsPrivateConstructor() local
|
D | ParameterTest.java | 109 Constructor<?> constructor = SingleParameter.class.getDeclaredConstructor(String.class); in testSingleParameterConstructor() local 132 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); in testSingleParameterConstructor_withMetadata() local 165 Constructor<?> constructor = GenericParameter.class.getDeclaredConstructor(Function.class); in testGenericParameterConstructor() local 191 Constructor<?> constructor = clazz.getDeclaredConstructor(Function.class); in testGenericParameterConstructor_withMetadata() local 225 Constructor<?> constructor = in testTwoParameterConstructor() local 254 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class, Integer.class); in testTwoParameterConstructor_withMetadata() local 293 Constructor<?> constructor = FinalParameter.class.getDeclaredConstructor(String.class); in testFinalParameterConstructor() local 316 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); in testFinalParameterConstructor_withMetdata() local 356 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); in testInnerClassSingleParameter() local 372 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); in testInnerClassSingleParameter_withMetadata() local [all …]
|
D | GenericExceptionsTest.java | 43 Constructor constructor = Thrower.class.getConstructor(); in testGenericExceptionsOfConstructorsWithTypeParameters() local 49 Constructor constructor = Thrower.class.getConstructor(List.class); in testGenericExceptionsOfConstructorsWithGenericParameters() local 55 Constructor constructor = ThrowerT.class.getConstructor(); in testConstructorThrowingTypeVariable() local
|
D | OldAndroidClassTest.java | 90 Constructor constructor = helloClass.getConstructor((Class[]) null); in testGetConstructor() local
|
D | ClassLoaderReflectionTest.java | 108 Constructor<?> constructor = fClass.getDeclaredConstructors()[0]; in testConstructorGenericType() local
|
D | OldGenericTypesTest.java | 68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); in testConstructorGenericType() local
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | ConstructorTest.java | 42 Constructor<Type> constructor = Type.class.getConstructor(); in testConstructorAnnotations() local 87 Constructor constructor = getConstructor(c, constructorArgCount); in checkDeclaredAnnotation() local 121 Constructor<?> constructor = getConstructor(c, constructorArgCount); in assertGetDeclaredAnnotationsByType() local 147 Constructor<?> constructor = getConstructor(c, constructorArgCount); in assertGetAnnotationsByType() local
|
D | ExecutableParameterTest.java | 235 Constructor<InnerClass> constructor = in testImplicitConstructorParameters_innerClass() local 257 Constructor<? extends AnonymousBaseClass> constructor = in testImplicitConstructorParameters_anonymousClass() local 276 Constructor<StaticInnerClass> constructor = in testImplicitConstructorParameters_staticInnerClass() local
|
D | AnnotatedElementParameterTest.java | 453 Constructor<InnerClass> constructor = in testImplicitConstructorParameters_innerClass() local 494 Constructor<? extends AnonymousBaseClass> constructor = in testImplicitConstructorParameters_anonymousClass() local 533 Constructor<StaticInnerClass> constructor = in testImplicitConstructorParameters_staticInnerClass() local
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | XalanDOMTestDocumentBuilderFactory.java | 71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator() local
|
D | JUnitTestCaseAdapter.java | 85 Constructor<?> constructor = clazz.getConstructor(new Class<?>[] { in setName() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ConstructorTest.java | 153 Constructor<ConstructorTestHelper> constructor = ConstructorTestHelper.class in test_hashCode() local 326 … Constructor<GenericConstructorTestHelper> constructor = GenericConstructorTestHelper.class in test_getGenericParameterTypes() local 357 … Constructor<GenericConstructorTestHelper> constructor = GenericConstructorTestHelper.class in test_getGenericExceptionTypes() local
|
D | TypeVariableTest.java | 68 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testSimpleTypeVariableOnConstructor() local 132 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testMultipleTypeVariablesOnConstructor() local
|
/libcore/benchmarks/src/benchmarks/ |
D | DeepArrayOpsBenchmark.java | 111 Constructor<V> constructor = type.getDeclaredConstructor(String.class); in new16ElementArray() local
|
D | XmlParseBenchmark.java | 134 private int testXmlPull(Constructor<? extends XmlPullParser> constructor, int reps) in testXmlPull()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ConsoleTest.java | 49 Constructor<Console> constructor = in setUp() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLContextSpiTest.java | 51 public void constructor() { in constructor() method in SSLContextSpiTest
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ReflectionBenchmark.java | 54 Constructor constructor = klass.getConstructor(); in timeClass_newInstance() local
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactoryTest.java | 458 Constructor<T> constructor = null; in engineGetKeySpec() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | MulticastSocketTest.java | 117 public void constructor() throws IOException { in constructor() method in MulticastSocketTest
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 985 Constructor constructor = refc.getDeclaredConstructor(type.ptypes()); in findConstructor() local 996 private MethodHandle createMethodHandleForConstructor(Constructor constructor) { in createMethodHandleForConstructor()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 435 java.lang.reflect.Constructor constructor) { in createMethodHandleForConstructor()
|