/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ConstructorTest.java | 19 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/ |
D | ConstructorTest.java | 25 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 …]
|
D | MalformedParameterizedTypeExceptionTests.java | 3 import java.lang.reflect.Constructor; 13 … Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class in test_Constructor()
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlSerializeBenchmark.java | 22 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()
|
D | XmlParseBenchmark.java | 25 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/ |
D | NTLMAuthenticationProxy.java | 29 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/ |
D | Constructor.java | 56 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()
|
D | AccessibleObject.java | 126 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/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestBatik.java | 16 import java.lang.reflect.Constructor; 31 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/html/ |
D | TestXercesHTML.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/ls/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/xpath/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/html/ |
D | TestXercesHTML.java | 16 import java.lang.reflect.Constructor; 30 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/core/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/validation/ |
D | TestDefaultParser.java | 16 import java.lang.reflect.Constructor; 40 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
D | TestDefaultParserAltConfig.java | 16 import java.lang.reflect.Constructor; 43 …Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory… in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | XalanDOMTestDocumentBuilderFactory.java | 29 import java.lang.reflect.Constructor; 71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); in createXPathEvaluator()
|