Home
last modified time | relevance | path

Searched refs:getConstructor (Results 1 – 25 of 111) sorted by relevance

12345

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DConstructorTest.java107 .getConstructor(Object.class); in test_getParameterAnnotations()
127 ctor1 = ConstructorTestHelper.class.getConstructor(new Class[0]); in test_getDeclaredAnnotations()
143 .getConstructor(String[].class); in test_isVarArgs()
147 .getConstructor(Object.class); in test_isVarArgs()
154 .getConstructor(); in test_hashCode()
164 .getConstructor(Object.class, Object.class); in test_toGenericString()
170 .getConstructor(); in test_toGenericString()
180 ctor1 = ConstructorTestHelper.class.getConstructor( in test_equalsLjava_lang_Object()
182 ctor2 = ConstructorTestHelper.class.getConstructor(Object.class); in test_equalsLjava_lang_Object()
193 Constructor<? extends ConstructorTestHelper> ctor = pclass.getConstructor(new Class[0]); in test_getDeclaringClass()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DConstructorTest.java26 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); in test_getExceptionTypes()
39 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterTypes()
43 constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterTypes()
56 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterCount()
60 constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterCount()
67 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameters()
71 constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameters()
87 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null); in testGetConstructorWithNullArgumentsArray()
93 ConstructorTestHelper.class.getConstructor(new Class[] { null }); in testGetConstructorWithNullArgument()
101 ConstructorTestHelper.class.getConstructor(Object.class, Object.class); in testGetConstructorReturnsDoesNotReturnPrivateConstructor()
[all …]
DGenericExceptionsTest.java43 Constructor constructor = Thrower.class.getConstructor(); in testGenericExceptionsOfConstructorsWithTypeParameters()
49 Constructor constructor = Thrower.class.getConstructor(List.class); in testGenericExceptionsOfConstructorsWithGenericParameters()
55 Constructor constructor = ThrowerT.class.getConstructor(); in testConstructorThrowingTypeVariable()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DConstructorTest.java42 Constructor<Type> constructor = Type.class.getConstructor(); in testConstructorAnnotations()
87 Constructor constructor = getConstructor(c, constructorArgCount); in checkDeclaredAnnotation()
121 Constructor<?> constructor = getConstructor(c, constructorArgCount); in assertGetDeclaredAnnotationsByType()
147 Constructor<?> constructor = getConstructor(c, constructorArgCount); in assertGetAnnotationsByType()
152 private static Constructor<?> getConstructor(Class<?> c, int constructorArgCount) in getConstructor() method in ConstructorTest
/libcore/benchmarks/src/benchmarks/
DXmlSerializeBenchmark.java85 .getConstructor(); in setUp()
87 .getConstructor(); in setUp()
/libcore/dom/src/test/java/org/w3c/domts/level3/xpath/
DTestDefaultParserAltConfig.java43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParser.java40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/html/
DTestXercesHTML.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/events/
DTestDefaultParser.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultLSAltConfig.java39 testClass.getConstructor( in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/ls/
DTestDefaultParser.java40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultLS.java45 testClass.getConstructor( in suite()
DTestBatik.java39 .getConstructor(new Class[]{DOMTestDocumentBuilderFactory.class}); in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/core/
DTestDefaultParserAltConfig.java43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParser.java40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
DTestDefaultParserAltConfig.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParser.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/
DXalanDOMTestDocumentBuilderFactory.java71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator()
/libcore/dom/src/test/java/org/w3c/domts/level3/validation/
DTestDefaultParserAltConfig.java43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParser.java40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level1/html/
DTestXercesHTML.java30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultLSAltConfig.java39 testClass.getConstructor( in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DTestDefaultParserAltConfig.java43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParser.java40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()

12345