Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 127) sorted by relevance

123456

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DConstructorTest.java19 import java.lang.reflect.Constructor;
24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); in test_getExceptionTypes()
37 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); in test_getParameterTypes()
49 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null); in testGetConstructorWithNullArgumentsArray()
70 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( in testGetDeclaredConstructorReturnsPrivateConstructor()
76 Constructor<?> c1 = ConstructorTestHelper.class.getConstructor(); in testEqualConstructorEqualsAndHashCode()
77 Constructor<?> c2 = ConstructorTestHelper.class.getConstructor(); in testEqualConstructorEqualsAndHashCode()
83 Constructor<?> c1 = ConstructorTestHelper.class.getConstructor(); in testHashCodeSpec()
88 Constructor<?> c1 = ConstructorTestHelper.class.getConstructor(); in testDifferentConstructorEqualsAndHashCode()
89 Constructor<?> c2 = ConstructorTestHelper.class.getConstructor(Object.class); in testDifferentConstructorEqualsAndHashCode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DConstructorTest.java25 import java.lang.reflect.Constructor;
106 Constructor<ConstructorTestHelper> ctor1 = ConstructorTestHelper.class in test_getParameterAnnotations()
126 Constructor<ConstructorTestHelper> ctor1 = null; in test_getDeclaredAnnotations()
142 Constructor<ConstructorTestHelper> varArgCtor = ConstructorTestHelper.class in test_isVarArgs()
146 Constructor<ConstructorTestHelper> nonVarArgCtor = ConstructorTestHelper.class in test_isVarArgs()
153 Constructor<ConstructorTestHelper> constructor = ConstructorTestHelper.class in test_hashCode()
163 Constructor<GenericConstructorTestHelper> genericCtor = GenericConstructorTestHelper.class in test_toGenericString()
169 Constructor<GenericConstructorTestHelper> ctor = GenericConstructorTestHelper.class in test_toGenericString()
178 Constructor<ConstructorTestHelper> ctor1 = null, ctor2 = null; in test_equalsLjava_lang_Object()
193 Constructor<? extends ConstructorTestHelper> ctor = pclass.getConstructor(new Class[0]); in test_getDeclaringClass()
[all …]
DMalformedParameterizedTypeExceptionTests.java3 import java.lang.reflect.Constructor;
13Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class in test_Constructor()
/libcore/benchmarks/src/benchmarks/
DXmlSerializeBenchmark.java22 import java.lang.reflect.Constructor;
37 private Constructor<? extends XmlSerializer> kxmlConstructor;
38 private Constructor<? extends XmlSerializer> fastConstructor;
40 private void serializeRandomXml(Constructor<? extends XmlSerializer> ctor, long seed) in serializeRandomXml()
84 kxmlConstructor = (Constructor) Class.forName("org.kxml2.io.KXmlSerializer") in setUp()
86 fastConstructor = (Constructor) Class.forName("com.android.internal.util.FastXmlSerializer") in setUp()
95 private void internalTimeSerializer(Constructor<? extends XmlSerializer> ctor, int reps) in internalTimeSerializer()
DXmlParseBenchmark.java25 import java.lang.reflect.Constructor;
52 private Constructor<? extends XmlPullParser> kxmlConstructor;
53 private Constructor<? extends XmlPullParser> expatConstructor;
68 kxmlConstructor = (Constructor) Class.forName("org.kxml2.io.KXmlParser").getConstructor(); in setUp()
69 expatConstructor = (Constructor) Class.forName("org.apache.harmony.xml.ExpatPullParser") in setUp()
133 private int testXmlPull(Constructor<? extends XmlPullParser> constructor, int reps) in testXmlPull()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DNTLMAuthenticationProxy.java29 import java.lang.reflect.Constructor;
48 private final Constructor<? extends AuthenticationInfo> threeArgCtr;
49 private final Constructor<? extends AuthenticationInfo> fiveArgCtr;
51 private NTLMAuthenticationProxy(Constructor<? extends AuthenticationInfo> threeArgCtr, in NTLMAuthenticationProxy()
52 Constructor<? extends AuthenticationInfo> fiveArgCtr) { in NTLMAuthenticationProxy()
118 Constructor<? extends AuthenticationInfo> threeArg, fiveArg; in tryLoadNTLMAuthentication()
/libcore/ojluni/src/main/java/java/lang/reflect/
DConstructor.java56 public final class Constructor<T> extends AbstractMethod implements class
64 private Constructor() { in Constructor() method in Constructor
68 private Constructor(Class<?> serializationCtor, in Constructor() method in Constructor
77 public Constructor<T> serializationCopy(Class<?> ctor, Class<?> cl) { in serializationCopy()
78 return new Constructor<T>(ctor, cl); in serializationCopy()
123 public TypeVariable<Constructor<T>>[] getTypeParameters() { in getTypeParameters()
125 return (TypeVariable<Constructor<T>>[]) info.formalTypeParameters.clone(); in getTypeParameters()
219 if (obj != null && obj instanceof Constructor) { in equals()
220 Constructor<?> other = (Constructor<?>)obj; in equals()
DAccessibleObject.java126 if (obj instanceof Constructor && flag == true) { in setAccessible0()
127 Constructor<?> c = (Constructor<?>)obj; in setAccessible0()
/libcore/dom/src/test/java/org/w3c/domts/level2/events/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestBatik.java16 import java.lang.reflect.Constructor;
31Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
40Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
43Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/html/
DTestXercesHTML.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/ls/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
40Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/xpath/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
40Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
43Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level1/html/
DTestXercesHTML.java16 import java.lang.reflect.Constructor;
30Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/core/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
40Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
43Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/validation/
DTestDefaultParser.java16 import java.lang.reflect.Constructor;
40Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
DTestDefaultParserAltConfig.java16 import java.lang.reflect.Constructor;
43Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
/libcore/dom/src/test/java/org/w3c/domts/
DXalanDOMTestDocumentBuilderFactory.java29 import java.lang.reflect.Constructor;
71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator()

123456