Home
last modified time | relevance | path

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

12345678910>>...14

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DBeanConstructorTest.java30 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testPrimitivesConstructor()
69 new Yaml(new Constructor((Class<? extends Object>) null)); in testNoClassConstructor()
78 new Yaml(new Constructor((String) null)); in testNoClassConstructorString()
87 new Yaml(new Constructor(" ")); in testNoClassConstructorEmptyString()
95 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testCharacter()
119 Yaml yaml = new Yaml(new Constructor(TestBean2.class)); in testNoEmptyConstructor()
149 Yaml yaml = new Yaml(new Constructor(TestBean2.class)); in testPrivateMethod()
160 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testKeyNotScalar()
171 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testInvalidKey()
183 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testStaticField()
[all …]
DArrayTagsTest.java61 Constructor constructor = new Constructor(); in testLoadClassTag()
72 Constructor constructor = new Constructor(); in testNullDescription()
82 Constructor constructor = new Constructor(new TypeDescription(CarWithArray.class)); in testLoadClassNoRoot()
DClassTagsTest.java75 Constructor constructor = new Constructor(); in testLoadClassTag()
87 Constructor constructor = new Constructor(); in testNullDescription()
97 Constructor constructor = new Constructor(new TypeDescription(Car.class)); in testLoadClassNoRoot()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java13 import java.lang.reflect.Constructor;
189 Constructor<?> constructor = null; in instantiate()
229 … private final Comparator<Constructor<?>> byParameterNumber = new Comparator<Constructor<?>>() {
230 public int compare(Constructor<?> constructorA, Constructor<?> constructorB) {
240 private int countMockableParams(Constructor<?> constructor) {
263 Constructor<?> constructor = null; in instantiate()
288 private void checkParameterized(Constructor<?> constructor, Field field) { in checkParameterized()
294 private Constructor<?> biggestConstructor(Class<?> clazz) { in biggestConstructor()
295 …final List<? extends Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); in biggestConstructor()
298 Constructor<?> constructor = constructors.get(0); in biggestConstructor()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/targets/
DConstructor.java19 public class Constructor { class
21 Constructor() { // $line-packageLocal$ in Constructor() method in Constructor
24 private Constructor(Object arg) { // $line-arg$ in Constructor() method in Constructor
27 private static class Super extends Constructor {
67 new Constructor().new Inner(); in main()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue149/
DGlobalDirectivesTest.java25 import org.yaml.snakeyaml.constructor.Constructor;
32 Constructor constr = new Constructor(); in testOneDocument()
47 Constructor constr = new Constructor(); in testDirectives()
65 Constructor constr = new Constructor(); in testDirectives2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DPropertyUtilsSharingTest.java21 import org.yaml.snakeyaml.constructor.Constructor;
31 Yaml yaml2 = new Yaml(new Constructor()); in testYamlDefaults()
39 Constructor constructor1 = new Constructor(); in testYamlConstructorWithPropertyUtils()
58 Constructor constructor = new Constructor(); in testYamlConstructorANDRepresenterWithPropertyUtils()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DSunReflectionFactoryHelper.java17 import java.lang.reflect.Constructor;
35 public static <T> Constructor<T> newConstructorForSerialization(Class<T> type, in newConstructorForSerialization()
36 Constructor<?> constructor) { in newConstructorForSerialization()
44 return (Constructor<T>) newConstructorForSerializationMethod.invoke( in newConstructorForSerialization()
90 "newConstructorForSerialization", Class.class, Constructor.class); in getNewConstructorForSerializationMethod()
DSunReflectionFactoryInstantiator.java18 import java.lang.reflect.Constructor;
37 private final Constructor<T> mungedConstructor;
40 Constructor<Object> javaLangObjectConstructor = getJavaLangObjectConstructor(); in SunReflectionFactoryInstantiator()
55 private static Constructor<Object> getJavaLangObjectConstructor() { in getJavaLangObjectConstructor()
/external/testng/src/main/java/org/testng/internal/annotations/
DBaseAnnotation.java3 import java.lang.reflect.Constructor;
9 private Constructor m_constructor;
11 public Constructor getConstructor() { in getConstructor()
14 public void setConstructor(Constructor constructor) { in setConstructor()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProvideUtils.java27 import java.lang.reflect.Constructor;
42 static <T> Constructor<? extends T> findThrowingConstructor( in findThrowingConstructor()
47 Constructor<?> cxtor = null; in findThrowingConstructor()
48 for (Constructor<?> constructor : rawType.getDeclaredConstructors()) { in findThrowingConstructor()
72 return (Constructor<? extends T>) cxtor; in findThrowingConstructor()
/external/guice/core/src/com/google/inject/internal/
DDefaultConstructionProxyFactory.java23 import java.lang.reflect.Constructor;
47 final Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); in create()
66 public Constructor<T> getConstructor() { in create()
96 public Constructor<T> getConstructor() { in create()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkCreator.java24 import java.lang.reflect.Constructor;
41 private final Constructor<?> benchmarkClassCtor;
52 private static Constructor<?> findDefaultConstructor(Class<?> benchmarkClass) { in findDefaultConstructor()
53 Constructor<?> defaultConstructor = null; in findDefaultConstructor()
54 for (Constructor<?> constructor : benchmarkClass.getDeclaredConstructors()) { in findDefaultConstructor()
/external/skia/src/sksl/ir/
DSkSLConstructor.h27 struct Constructor : public Expression { struct
28 Constructor(Position position, const Type& type, in Constructor() function
86 Constructor& c = (Constructor&) other; in compareConstant() argument
139 return ((const Constructor&) *arg).getVecComponent(index - current); in getVecComponent() argument
176 const Type& argType = ((Constructor&) *fArguments[0]).fType; in getMatComponent() argument
179 return ((Constructor&) *fArguments[0]).getMatComponent(col, row); in getMatComponent()
196 return &((Constructor&) *arg).getVecComponent(targetIndex - currentIndex); in getMatComponent()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java28 import java.lang.reflect.Constructor;
57 Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor(); in testConstructor_returnType_hasTypeParameter()
325 Constructor<?> constructor = in testInnerClassDefaultConstructor()
331 Constructor<?> constructor = in testNestedInnerClassDefaultConstructor()
342 Constructor<?> constructor = in testInnerClassWithOneParameterConstructor()
355 Constructor<?> constructor = in testInnerClassWithAnnotatedConstructorParameter()
368 Constructor<?> constructor = in testInnerClassWithGenericConstructorParameter()
386 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; in testAnonymousClassDefaultConstructor()
396 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; in testAnonymousClassWithTwoParametersConstructor()
408 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors() [0]; in testLocalClassDefaultConstructor()
[all …]
/external/snakeyaml/src/patches/android/
DConstructor.patch4 …in/java/org/yaml/snakeyaml/constructor/Constructor.java b/src/main/java/org/yaml/snakeyaml/constru…
5 --- a/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java
6 +++ b/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java
/external/guice/core/src/com/google/inject/internal/util/
DClasses.java21 import java.lang.reflect.Constructor;
53 } else if (memberType == Constructor.class) { in toString()
72 } else if (member instanceof Constructor) { in memberType()
73 return Constructor.class; in memberType()
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dcandidates.properties35 org.objenesis.tck.candidates.ConstructorThrowingException = Constructor throw…
36 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throw…
37 org.objenesis.tck.candidates.ConstructorWithArguments = Constructor with …
38 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with …
39 org.objenesis.tck.candidates.ConstructorWithMandatoryArguments = Constructor with …
40 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with …
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java18 import java.lang.reflect.Constructor;
40 static Constructor[] getDeclaredConstructors(final Class clazz) {
44 return (Constructor[]) AccessController
75 static Constructor getDeclaredConstructor(final Class clazz,
83 return (Constructor) AccessController
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue95/
DArrayInGenericCollectionTest.java31 import org.yaml.snakeyaml.constructor.Constructor;
88 Constructor c = new Constructor(); in testArrayAsMapValueWithTypeDespriptor()
127 Constructor c = new Constructor(); in testArrayAsListValueWithTypeDespriptor()
145 Constructor constr = new Constructor(B.class); in testNoTags()
/external/testng/src/main/java/org/testng/internal/
DConstructorOrMethod.java3 import java.lang.reflect.Constructor;
14 private Constructor m_constructor;
21 public ConstructorOrMethod(Constructor c) { in ConstructorOrMethod()
41 public Constructor getConstructor() { in getConstructor()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeExampleTest.java28 import org.yaml.snakeyaml.constructor.Constructor;
64 class JodaPropertyConstructor extends Constructor {
69 class TimeStampConstruct extends Constructor.ConstructScalar {
87 public class JodaTimeConstructor extends Constructor {
109 class TimeStampConstruct extends Constructor.ConstructScalar {
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DAssistedConstructor.java24 import java.lang.reflect.Constructor;
42 private final Constructor<T> constructor;
47 Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in create()
51 private AssistedConstructor(Constructor<T> constructor, List<TypeLiteral<?>> parameterTypes) { in AssistedConstructor()
/external/testng/src/test/java/test/annotationtransformer/
DMyParamTransformer.java6 import java.lang.reflect.Constructor;
15 Constructor testConstructor, Method testMethod) { in transform()
21 …public static boolean onlyOneNonNull(Class testClass, Constructor testConstructor, Method testMeth… in onlyOneNonNull()
/external/testng/src/main/java/org/testng/
DConversionUtils.java3 import java.lang.reflect.Constructor;
23 Constructor ctor = null; in wrapDataProvider()
25 for (Constructor c : cls.getConstructors()) { in wrapDataProvider()

12345678910>>...14