Home
last modified time | relevance | path

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

12

/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
DGenericSignatureFormatErrorTest.java33 public void constructor() { in constructor() method in GenericSignatureFormatErrorTest
/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
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DWrongMethodTypeExceptionTest.java33 public void constructor() { in constructor() method in WrongMethodTypeExceptionTest
DLambdaConversionExceptionTest.java35 public void constructor() { in constructor() method in LambdaConversionExceptionTest
/libcore/luni/src/test/java/libcore/javax/xml/transform/dom/
DDOMSourceTest.java34 public void constructor() { in constructor() method in DOMSourceTest
/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DDatatypeConfigurationExceptionTest.java30 public void constructor() { in constructor() method in DatatypeConfigurationExceptionTest
/libcore/dom/src/test/java/org/w3c/domts/
DXalanDOMTestDocumentBuilderFactory.java71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator() local
/libcore/luni/src/test/java/libcore/javax/xml/transform/sax/
DSAXResultTest.java43 public void constructor() { in constructor() method in SAXResultTest
/libcore/luni/src/test/java/libcore/javax/xml/transform/
DTransformerFactoryConfigurationErrorTest.java31 public void constructor() { in constructor() method in TransformerFactoryConfigurationErrorTest
DTransformerConfigurationExceptionTest.java32 public void constructor() { in constructor() method in TransformerConfigurationExceptionTest
/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/luni/src/test/java/libcore/java/io/
DConsoleTest.java40 Constructor<Console> constructor = in createConsole() local
/libcore/luni/src/test/java/libcore/javax/xml/validation/
DValidatorTest.java47 public void constructor() { in constructor() method in ValidatorTest
/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/luni/src/test/java/libcore/java/lang/
DBootstrapMethodErrorTest.java33 public void constructor() { in constructor() method in BootstrapMethodErrorTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java49 Constructor<Console> constructor = in setUp() local
/libcore/luni/src/test/java/libcore/javax/xml/transform/stream/
DStreamResultTest.java38 public void constructor() { in constructor() method in StreamResultTest
DStreamSourceTest.java41 public void constructor() { in constructor() method in StreamSourceTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java51 public void constructor() { in constructor() method in SSLContextSpiTest

12