HomeSort by relevance Sort by last modified time
    Searched refs:constructor (Results 101 - 125 of 1680) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
ConstructorMappingTest.java 16 package org.yaml.snakeyaml.constructor;
49 return construct(new Constructor(), data);
52 private Object construct(Constructor constructor, String data) {
57 constructor.setComposer(composer);
58 return constructor.getSingleData(Object.class);
61 class CustomConstructor extends Constructor {
Wheel.java 16 package org.yaml.snakeyaml.constructor;
TypeSafeCollectionsTest.java 16 package org.yaml.snakeyaml.constructor;
34 Constructor constructor = new Constructor(Car.class); local
37 constructor.addTypeDescription(carDescription);
38 Yaml yaml = new Yaml(constructor);
39 Car car = (Car) yaml.load(Util.getLocalResource("constructor/car-no-root-class.yaml"));
50 Constructor constructor = new Constructor(MyCar.class) local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/introspector/
MethodPropertyTest.java 24 import org.yaml.snakeyaml.constructor.TestBean1;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
BeanConstructor3.java 18 import org.yaml.snakeyaml.constructor.Constructor;
22 public class BeanConstructor3 extends Constructor {
  /external/doclava/src/com/google/doclava/
SinceTagger.java 158 for (MethodInfo constructor : doc.constructors()) {
159 if (constructor.getSince() == null
160 && spec.hasConstructor(constructor)) {
161 constructor.setSince(versionName);
165 if (constructor.isDeprecated() && constructor.getDeprecatedSince() == null) {
167 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) {
168 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName());
170 constructor.setDeprecatedSince(versionName);
251 for (MethodInfo constructor : missingVersions(claz.constructors()))
    [all...]
  /external/libcxxabi/src/
cxa_vector.cpp 35 // They get passed a block of memory in the constructor, and unless the
115 // __cxa_vec_new2(element_count, element_size, padding_size, constructor,
119 void (*constructor)(void *), void (*destructor)(void *)) {
121 constructor, destructor, &::operator new [], &::operator delete [] );
129 // the padding is non-zero, and call the given constructor on each element.
133 // NULL, return NULL. If the constructor throws an exception, call
137 // The constructor may be NULL, in which case it must not be called. If the
144 void (*constructor)(void *), void (*destructor)(void *),
160 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
172 void (*constructor)(void *), void (*destructor)(void *)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNfcAdapter.java 12 import java.lang.reflect.Constructor;
27 Constructor<NfcAdapter> constructor = NfcAdapter.class.getDeclaredConstructor(); local
28 constructor.setAccessible(true);
29 return constructor.newInstance();
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ParameterTest.java 28 import java.lang.reflect.Constructor;
107 Constructor<?> constructor = SingleParameter.class.getDeclaredConstructor(String.class); local
108 checkSingleStringParameter(constructor);
130 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); local
131 checkSingleStringParameter_withMetadata(constructor);
163 Constructor<?> constructor = GenericParameter.class.getDeclaredConstructor(Function.class); local
164 checkGenericParameter(constructor);
189 Constructor<?> constructor = clazz.getDeclaredConstructor(Function.class); local
223 Constructor<?> constructor = local
252 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class, Integer.class); local
291 Constructor<?> constructor = FinalParameter.class.getDeclaredConstructor(String.class); local
314 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class); local
354 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
370 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
388 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass, String.class); local
409 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass, String.class); local
435 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass, Function.class); local
462 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass, Function.class); local
495 Constructor<?> constructor = TestEnum.class.getDeclaredConstructor(String.class, int.class); local
513 Constructor<?> constructor = clazz.getDeclaredConstructor(String.class, int.class); local
581 Constructor<?> constructor = SingleVarArgs.class.getDeclaredConstructor(String[].class); local
604 Constructor<?> constructor = clazz.getDeclaredConstructor(String[].class); local
636 Constructor<?> constructor = local
671 Constructor<?> constructor = NonVarArgs.class.getDeclaredConstructor(Integer[].class); local
695 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
724 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
742 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
769 Constructor<?> constructor = innerClass.getDeclaredConstructor(outerClass); local
    [all...]
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...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_vector.cpp 33 // They get passed a block of memory in the constructor, and unless the
111 // __cxa_vec_new2(element_count, element_size, padding_size, constructor,
115 void (*constructor)(void*), void (*destructor)(void*) ) {
118 constructor, destructor, &::operator new [], &::operator delete [] );
126 // the padding is non-zero, and call the given constructor on each element.
130 // NULL, return NULL. If the constructor throws an exception, call
134 // The constructor may be NULL, in which case it must not be called. If the
141 void (*constructor)(void*), void (*destructor)(void*),
158 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
170 void (*constructor)(void*), void (*destructor)(void*)
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/src/
cxa_vector.cpp 35 // They get passed a block of memory in the constructor, and unless the
115 // __cxa_vec_new2(element_count, element_size, padding_size, constructor,
119 void (*constructor)(void *), void (*destructor)(void *)) {
121 constructor, destructor, &::operator new [], &::operator delete [] );
129 // the padding is non-zero, and call the given constructor on each element.
133 // NULL, return NULL. If the constructor throws an exception, call
137 // The constructor may be NULL, in which case it must not be called. If the
144 void (*constructor)(void *), void (*destructor)(void *),
160 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor );
172 void (*constructor)(void *), void (*destructor)(void *)
    [all...]
  /packages/apps/LegacyCamera/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);
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/
cxxabi.h 88 void (*constructor)(void*),
94 void (*constructor)(void*),
102 void (*constructor)(void*),
110 void (*constructor)(void*),
144 void (*constructor)(void*, void*),
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiClass.java 84 public void addConstructor(ApiConstructor constructor) {
85 mApiConstructors.add(constructor);
97 /** Look for a matching constructor and mark it as covered */
129 for (ApiConstructor constructor : mApiConstructors) {
130 if (constructor.isCovered()) {
246 for (ApiConstructor constructor : mApiConstructors) {
247 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) {
248 return constructor;
TextReport.java 60 for (ApiConstructor constructor : constructors) {
61 printConstructor(constructor, out);
87 private static void printConstructor(ApiConstructor constructor, PrintStream out) {
89 .append(constructor.isCovered() ? "X" : " ")
90 .append("] ").append(constructor.getName()).append("(");
92 List<String> parameterTypes = constructor.getParameterTypes();
  /external/mockito/src/main/java/org/mockito/internal/configuration/
SpyAnnotationEngine.java 8 import java.lang.reflect.Constructor;
35 * If the field is not initialized, will try to initialize it, with a no-arg constructor.
109 Constructor<?> constructor = noArgConstructorOf(type); local
110 if (Modifier.isPrivate(constructor.getModifiers())) {
111 constructor.setAccessible(true);
112 return Mockito.mock(type, settings.spiedInstance(constructor.newInstance()));
118 private static Constructor<?> noArgConstructorOf(Class<?> type) {
119 Constructor<?> constructor; local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
Human_WithArrayOfChildrenTest.java 25 import org.yaml.snakeyaml.constructor.Constructor;
145 Constructor constructor = new Constructor(Human_WithArrayOfChildren.class); local
150 constructor.addTypeDescription(HumanWithChildrenArrayDescription);
152 Yaml yaml = new Yaml(constructor);
172 Constructor constructor = new Constructor(Human_WithArrayOfChildren.class) local
    [all...]
  /external/v8/src/js/
runtime.js 67 var constructor = object.constructor;
68 if (IS_UNDEFINED(constructor)) {
71 if (!IS_RECEIVER(constructor)) {
74 var species = constructor[speciesSymbol];
  /external/vogar/src/vogar/target/junit/junit3/
TestCaseRunnerFactory.java 20 import java.lang.reflect.Constructor;
108 Constructor<? extends TestCase> constructor; local
110 constructor = testClass.getConstructor(String.class);
112 constructor = testClass.getConstructor();
117 if (constructor.getParameterTypes().length == 0) {
118 test = constructor.newInstance();
121 test = constructor.newInstance(name);
  /frameworks/base/graphics/java/android/graphics/drawable/
DrawableInflater.java 32 import java.lang.reflect.Constructor;
48 private static final HashMap<String, Constructor<? extends Drawable>> CONSTRUCTOR_MAP =
196 Constructor<? extends Drawable> constructor; local
198 constructor = CONSTRUCTOR_MAP.get(className);
199 if (constructor == null) {
202 constructor = clazz.getConstructor();
203 CONSTRUCTOR_MAP.put(className, constructor);
206 return constructor.newInstance();
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkCreator.java 24 import java.lang.reflect.Constructor;
37 "Benchmark %s does not have a publicly visible default constructor";
41 private final Constructor<?> benchmarkClassCtor;
52 private static Constructor<?> findDefaultConstructor(Class<?> benchmarkClass) {
53 Constructor<?> defaultConstructor = null;
54 for (Constructor<?> constructor : benchmarkClass.getDeclaredConstructors()) {
55 if (constructor.getParameterTypes().length == 0) {
56 defaultConstructor = constructor;
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
FactoryProvider.java 40 import java.lang.reflect.Constructor;
67 * constructor. In addition to injector-supplied parameters, the constructor should have
114 * ...and to the concrete type's constructor parameters:
136 * <p>Instead of matching factory method arguments to constructor parameters using their names, the
138 * used for the first {@literal @}Assisted constructor parameter, etc.. Annotation names have no
220 + "with @Assisted for Constructor '%s'", p, c);
231 throw newConfigurationException("Constructor %s declares an exception, but no compatible "
256 for (Constructor<?> constructor : implementationType.getRawType().getDeclaredConstructors())
    [all...]
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProvideUtils.java 27 import java.lang.reflect.Constructor;
39 "Classes must have either one (and only one) constructor annotated with @ThrowingInject.";
41 @SuppressWarnings("unchecked") // safe because it's a constructor of the typeLiteral
42 static <T> Constructor<? extends T> findThrowingConstructor(
47 Constructor<?> cxtor = null;
48 for (Constructor<?> constructor : rawType.getDeclaredConstructors()) {
49 if (constructor.isAnnotationPresent(ThrowingInject.class)) {
51 errors.addMessage("%s has more than one constructor annotated with @ThrowingInject. "
55 cxtor = constructor;
    [all...]
  /external/objenesis/tck/src/main/java/org/objenesis/tck/search/
SearchWorkingInstantiator.java 23 import java.lang.reflect.Constructor;
74 Constructor<?> constructor; local
76 constructor = c.getConstructor(Class.class);
83 (ObjectInstantiator<?>) constructor.newInstance(toInstantiate);

Completed in 1030 milliseconds

1 2 3 45 6 7 8 91011>>