HomeSort by relevance Sort by last modified time
    Searched refs:Constructor (Results 76 - 100 of 163) sorted by null

1 2 34 5 6 7

  /libcore/dom/src/test/java/org/w3c/domts/level3/xpath/
TestDefaultParserAltConfig.java 16 import java.lang.reflect.Constructor;
43 Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestXalan.java 16 import java.lang.reflect.Constructor;
32 Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestXalanAltConfig.java 16 import java.lang.reflect.Constructor;
32 Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
MalformedParameterizedTypeExceptionTests.java 8 import java.lang.reflect.Constructor;
20 notes = "Since this constructor is never invoked, this test only verifies its existence.",
25 Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class
27 assertNotNull("Parameterless constructor does not exist.", ctor);
28 assertTrue("Constructor is not protected", Modifier.isPublic(ctor
  /libcore/luni/src/main/java/org/apache/xalan/extensions/
ExtensionNamespaceSupport.java 23 import java.lang.reflect.Constructor;
34 // Namespace, ExtensionHandler class name, constructor signature
48 // Create the constructor signature.
54 else // If an arguments is null, pick the constructor later.
77 Constructor con = null;
81 else // Pick the constructor based on number of args.
83 Constructor[] cons = cl.getConstructors();
93 // System.out.println("constructor " + con);
97 throw new TransformerException("ExtensionHandler constructor not found");
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 22 import java.lang.reflect.Constructor;
79 Constructor[] constructors = testCaseClass.getConstructors();
84 for (Constructor constructor : constructors) {
85 Class[] params = constructor.getParameterTypes();
87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance();
93 return ((Constructor<? extends TestCase>) constructor)
98 throw new RuntimeException("Unable to locate a constructor for
    [all...]
TestGrouping.java 27 import java.lang.reflect.Constructor;
225 // from Constructor<T>[] to Constructor<?>[]
226 Constructor<? extends TestCase>[] constructors
227 = (Constructor<? extends TestCase>[]) aClass.getConstructors();
228 for (Constructor<? extends TestCase> constructor : constructors) {
229 if (Modifier.isPublic(constructor.getModifiers())) {
230 java.lang.Class[] parameterTypes = constructor.getParameterTypes();
  /external/astl/src/
string.cpp 143 void string::Constructor(const value_type *str, size_type n)
145 Constructor(str, 0, n);
149 void string::Constructor(const value_type *str, size_type pos, size_type n)
162 void string::Constructor(size_type n, char c)
183 Constructor(str.mData, str.mLength);
193 Constructor(str.mData + pos , n);
205 Constructor(str.mData, pos, str.mLength - pos);
217 Constructor(str, traits_type::length(str));
227 Constructor(str, n);
230 // Char repeat constructor
    [all...]
  /packages/apps/Camera/src/com/android/camera/
PreferenceInflater.java 23 import java.lang.reflect.Constructor;
41 private static final HashMap<String, Constructor<?>> sConstructorMap =
42 new HashMap<String, Constructor<?>>();
56 Constructor<?> constructor = sConstructorMap.get(name); local
58 if (constructor == null) {
62 constructor = clazz.getConstructor(CTOR_SIGNATURE);
63 sConstructorMap.put(name, constructor);
65 return (CameraPreference) constructor.newInstance(args);
  /packages/apps/Mms/src/com/android/mms/ui/
PresenterFactory.java 23 import java.lang.reflect.Constructor;
43 Constructor constructor = c.getConstructor( local
45 return (Presenter) constructor.newInstance(context, view, model);
50 Log.e(TAG, "No such constructor.", e);
  /libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
ImplForVariable.java 19 import java.lang.reflect.Constructor;
101 } else if (decl instanceof Constructor) {
102 return ((Constructor)decl).getDeclaringClass();
GenericSignatureParser.java 19 import java.lang.reflect.Constructor;
168 * Parses the generic signature of a constructor and creates the data
180 if(genericDecl instanceof Constructor) {
181 Constructor c = (Constructor) genericDecl;
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
GenericExceptionsTest.java 20 import java.lang.reflect.Constructor;
43 Constructor constructor = Thrower.class.getConstructor(); local
45 Arrays.asList(constructor.getGenericExceptionTypes()));
49 Constructor constructor = Thrower.class.getConstructor(List.class); local
51 Arrays.asList(constructor.getGenericExceptionTypes()));
55 Constructor constructor = ThrowerT.class.getConstructor(); local
56 TypeVariable typeVariable = getOnlyValue(constructor.getGenericExceptionTypes()
    [all...]
OldGenericTypesTest.java 23 import java.lang.reflect.Constructor;
34 @TestTargetClass(Constructor.class)
79 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); local
80 Type[] genericParameterTypes = constructor.getGenericParameterTypes();
240 //constructor
241 Constructor<?>[] declaredConstructors = innerClazz.getDeclaredConstructors();
243 Constructor<?> declaredConstructor = declaredConstructors[0];
  /dalvik/tests/071-dexfile/src/
Main.java 19 import java.lang.reflect.Constructor;
127 Constructor ctor;
  /dalvik/tests/086-null-super/src/
Main.java 17 import java.lang.reflect.Constructor;
80 Constructor ctor = mDexClass.
  /dalvik/tests/087-gc-after-link/src/
Main.java 17 import java.lang.reflect.Constructor;
80 Constructor ctor = mDexClass.
  /libcore/dom/src/test/java/org/w3c/domts/
JTidyDocumentBuilderFactory.java 15 import java.lang.reflect.Constructor;
31 private final Constructor tidyConstructor;
BatikTestDocumentBuilderFactory.java 15 import java.lang.reflect.Constructor;
88 Constructor domFactoryConstructor =
DOM4JTestDocumentBuilderFactory.java 25 import java.lang.reflect.Constructor;
49 * factory will be mutated in constructor and should be released
53 * after the constructor.
75 Constructor saxReaderConstructor = saxReaderClass.getConstructor(
  /packages/apps/Email/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 31 import java.lang.reflect.Constructor;
89 Constructor<T> c;
  /libcore/luni/src/main/java/java/lang/reflect/
Constructor.java 43 * This class represents a constructor. Information about the constructor can be
44 * accessed, and the constructor can be invoked dynamically.
46 * @param <T> the class that declares this constructor
48 public final class Constructor<T> extends AccessibleObject implements GenericDeclaration,
59 TypeVariable<Constructor<T>>[] formalTypeParameters;
80 private Constructor(){
89 * the class this constructor object belongs to
91 * the parameter types of the constructor
93 * the exception types of the constructor
    [all...]
  /dalvik/tests/068-classloader/src/
FancyLoader.java 21 import java.lang.reflect.Constructor;
85 Constructor ctor;
  /external/apache-http/src/org/apache/commons/logging/
LogSource.java 20 import java.lang.reflect.Constructor;
69 /** Constructor for current log class */
70 static protected Constructor logImplctor = null;
145 // ------------------------------------------------------------ Constructor
159 * must implement {@link Log}, and provide a constructor that
181 * and provide a constructor that takes a single {@link String}
220 * have a public constructor that takes a single
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
ProjectCallback.java 29 import java.lang.reflect.Constructor;
148 * Instantiate a class object, using a specific constructor and parameters.
150 * @param constructorSignature the signature of the constructor to use
151 * @param constructorParameters the parameters to use in the constructor.
152 * @return A new class object, created using a specific constructor and parameters.
158 Constructor<?> constructor = clazz.getConstructor(constructorSignature); local
159 constructor.setAccessible(true);
160 return constructor.newInstance(constructorParameters);

Completed in 1385 milliseconds

1 2 34 5 6 7