Home
last modified time | relevance | path

Searched defs:constructor (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DConstructorTest.java26 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
DParameterTest.java109 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 …]
DGenericExceptionsTest.java43 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
DOldAndroidClassTest.java90 Constructor constructor = helloClass.getConstructor((Class[]) null); in testGetConstructor() local
DClassLoaderReflectionTest.java108 Constructor<?> constructor = fClass.getDeclaredConstructors()[0]; in testConstructorGenericType() local
DOldGenericTypesTest.java68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); in testConstructorGenericType() local
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DConstructorTest.java42 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
DExecutableParameterTest.java235 Constructor<InnerClass> constructor = in testImplicitConstructorParameters_innerClass() local
257 Constructor<? extends AnonymousBaseClass> constructor = in testImplicitConstructorParameters_anonymousClass() local
276 Constructor<StaticInnerClass> constructor = in testImplicitConstructorParameters_staticInnerClass() local
DAnnotatedElementParameterTest.java453 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/
DXalanDOMTestDocumentBuilderFactory.java71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator() local
DJUnitTestCaseAdapter.java85 Constructor<?> constructor = clazz.getConstructor(new Class<?>[] { in setName() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DConstructorTest.java153 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
DTypeVariableTest.java68 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testSimpleTypeVariableOnConstructor() local
132 Constructor<?> constructor = clazz.getDeclaredConstructor(); in testMultipleTypeVariablesOnConstructor() local
/libcore/benchmarks/src/benchmarks/
DDeepArrayOpsBenchmark.java111 Constructor<V> constructor = type.getDeclaredConstructor(String.class); in new16ElementArray() local
DXmlParseBenchmark.java134 private int testXmlPull(Constructor<? extends XmlPullParser> constructor, int reps) in testXmlPull()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java49 Constructor<Console> constructor = in setUp() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java51 public void constructor() { in constructor() method in SSLContextSpiTest
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java54 Constructor constructor = klass.getConstructor(); in timeClass_newInstance() local
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java458 Constructor<T> constructor = null; in engineGetKeySpec() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java117 public void constructor() throws IOException { in constructor() method in MulticastSocketTest
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java985 Constructor constructor = refc.getDeclaredConstructor(type.ptypes()); in findConstructor() local
996 private MethodHandle createMethodHandleForConstructor(Constructor constructor) { in createMethodHandleForConstructor()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java435 java.lang.reflect.Constructor constructor) { in createMethodHandleForConstructor()