Home
last modified time | relevance | path

Searched defs:bean (Results 1 – 25 of 180) sorted by relevance

12345678

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/
DDumpTest.java29 Bean124 bean = new Bean124(); in testDumperOptionsSideEffect() local
44 Bean124 bean = new Bean124(); in testDumperDifferentTag() local
51 Bean124 bean = new Bean124(); in testDumperFlowStyle() local
58 Bean124 bean = new Bean124(); in testDumperAutoStyle() local
65 Bean124 bean = new Bean124(); in testDumperNullStyle() local
74 Bean124 bean = new Bean124(); in testDumperNullStyle2() local
81 Bean124 bean = new Bean124(); in testDumperNullTag() local
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DConstructEmptyBeanTest.java30 EmptyBean bean = (EmptyBean) yaml in testEmptyBean() local
42 EmptyBean bean = beanLoader.loadAs( in testEmptyBean1() local
55 EmptyBean bean = beanLoader.loadAs("!!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean2() local
66 EmptyBean bean = beanLoader.loadAs("{ }", EmptyBean.class); in testEmptyBean3() local
77 EmptyBean bean = beanLoader.loadAs("", EmptyBean.class); in testEmptyBean4() local
86 EmptyBean bean = beanLoader.loadAs("!Bla-bla-bla {}", EmptyBean.class); in testEmptyBean5() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DFieldSerializationTest.java138 SimpleFieldBean bean = new SimpleFieldBean(); in testSimpleAutoDetect() local
150 SimpleFieldBean2 bean = new SimpleFieldBean2(); in testSimpleAnnotation() local
162 TransientBean bean = new TransientBean(); in testTransientAndStatic() local
170 NoAutoDetectBean bean = new NoAutoDetectBean(); in testNoAutoDetect() local
184 FieldAndMethodBean bean = new FieldAndMethodBean(); in testMethodPrecedence() local
196 OkDupFieldBean bean = new OkDupFieldBean(1, 2); in testOkDupFields() local
205 Item240 bean = new Item240("a12", null); in testIssue240() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreators.java306 ConstructorBean bean = MAPPER.readValue("{ \"x\" : 42 }", ConstructorBean.class); in testSimpleConstructor() local
321 DoubleConstructorBean bean = MAPPER.readValue(exp.toString(), DoubleConstructorBean.class); in testSimpleDoubleConstructor() local
327 BooleanConstructorBean bean = MAPPER.readValue(" true ", BooleanConstructorBean.class); in testSimpleBooleanConstructor() local
348 FactoryBean bean = MAPPER.readValue("{ \"f\" : 0.25 }", FactoryBean.class); in testSimpleFactory() local
355 LongFactoryBean bean = MAPPER.readValue(String.valueOf(VALUE), LongFactoryBean.class); in testLongFactory() local
362 StringFactoryBean bean = MAPPER.readValue(quote(str), StringFactoryBean.class); in testStringFactory() local
369 FromStringBean bean = MAPPER.readValue(quote(str), FromStringBean.class); in testStringFactoryAlt() local
375 CreatorBean bean = MAPPER.readValue in testConstructorCreator() local
383 ConstructorAndPropsBean bean = MAPPER.readValue in testConstructorAndProps() local
392 FactoryAndPropsBean bean = MAPPER.readValue in testFactoryAndProps() local
[all …]
DSingleArgCreatorTest.java95 ExplicitFactoryBeanA bean = new ExplicitFactoryBeanA(str, false); in create() local
152 SingleNamedStringBean bean = MAPPER.readValue(quote("foobar"), in testNamedSingleArg() local
161 StringyBean bean = mapper.readValue(quote("foobar"), StringyBean.class); in testSingleStringArgWithImplicitName() local
170 … StringyBeanWithProps bean = mapper.readValue("{\"value\":\"x\"}", StringyBeanWithProps.class); in testSingleImplicitlyNamedNotDelegating() local
177 SingleNamedButStillDelegating bean = MAPPER.readValue(quote("xyz"), in testSingleExplicitlyNamedButDelegating() local
185 ExplicitFactoryBeanA bean = MAPPER.readValue(quote("abc"), ExplicitFactoryBeanA.class); in testExplicitFactory660a() local
203 SingleArgWithImplicit bean = mapper.readValue(aposToQuotes("{'x':1,'y':2}"), in testSingleImplicitDelegating() local
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializer.java248 …public Object deserialize(JsonParser p, DeserializationContext ctxt, Object bean) throws IOExcepti… in deserialize()
313 final Object bean = _valueInstantiator.createUsingDefault(ctxt); in vanillaDeserialize() local
362 Object bean = deserializeFromObjectUsingNonDefault(p, ctxt); in deserializeFromObject() local
377 final Object bean = _valueInstantiator.createUsingDefault(ctxt); in deserializeFromObject() local
453 Object bean; in _deserializeUsingPropertyBased() local
519 Object bean; in _deserializeUsingPropertyBased() local
610 Object bean = _valueInstantiator.createUsingArrayDelegate(ctxt, in _deserializeFromArray() local
651 Object bean, Class<?> activeView) in deserializeWithView()
700 final Object bean = _valueInstantiator.createUsingDefault(ctxt); in deserializeWithUnwrapped() local
746 _anySetter.deserializeAndSet(b2.asParserOnFirstToken(), ctxt, bean, propName); in deserializeWithUnwrapped() local
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DBeanHolder.java22 private IBean bean = new Bean1(); field in BeanHolder
28 public BeanHolder(IBean bean) { in BeanHolder()
37 public void setBean(IBean bean) { in setBean()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestPropertyTypeInfo.java89 FieldWrapperBean bean = mapper.readValue(json, FieldWrapperBean.class); in testSimpleField() local
100 FieldWrapperBean bean = mapper.readValue(json, FieldWrapperBean.class); in testSimpleMethod() local
116 FieldWrapperBean bean = list.get(0); in testSimpleListField() local
133 MethodWrapperBean bean = result.get(0); in testSimpleListMethod() local
153 FieldWrapperBean bean = beans[0]; in testSimpleArrayField() local
168 MethodWrapperBean bean = beans[0]; in testSimpleArrayMethod() local
182 FieldWrapperBean bean = result.get("foop"); in testSimpleMapField() local
198 MethodWrapperBean bean = result.get("xyz"); in testSimpleMapMethod() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualDeserialization.java197 ContextualBean bean = mapper.readValue("{\"a\":\"1\",\"b\":\"2\"}", ContextualBean.class); in testSimple() local
210 ContextualBean bean = mapper.readValue("{\"a\":\"1\",\"b\":\"2\"}", ContextualBean.class); in testSimpleWithAnnotations() local
223 …ContextualClassBean bean = mapper.readValue("{\"a\":\"1\",\"b\":\"2\"}", ContextualClassBean.class… in testSimpleWithClassAnnotations() local
235 …ContextualCtorBean bean = mapper.readValue("{\"a\":\"foo\",\"b\":\"bar\"}", ContextualCtorBean.cla… in testAnnotatedCtor() local
247 … ContextualArrayBean bean = mapper.readValue("{\"beans\":[\"x\"]}", ContextualArrayBean.class); in testAnnotatedArray() local
260 ContextualListBean bean = mapper.readValue("{\"beans\":[\"x\"]}", ContextualListBean.class); in testAnnotatedList() local
274 … ContextualMapBean bean = mapper.readValue("{\"beans\":{\"a\":\"b\"}}", ContextualMapBean.class); in testAnnotatedMap() local
293 GenericBean bean = new ObjectMapper().readValue(aposToQuotes("{'stuff':{'1':'b'}}"), in testContextualType() local
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue48/
DSkipJavaBeanPropertyTest.java28 Bean bean = new Bean(); in testWithNull() local
37 Bean bean = new Bean(); in testWithoutNull() local
47 protected NodeTuple representJavaBeanProperty(Object bean, Property property, Object value, in representJavaBeanProperty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DPropertyValue.java33 public abstract void assign(Object bean) in assign()
59 public void assign(Object bean) in assign()
88 public void assign(Object bean) in assign()
112 public void assign(Object bean) in assign()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DReadRecoveryTest.java31 Bean bean = it.nextValue(); in testRootBeans() local
54 Bean bean = it.nextValue(); in testSimpleRootRecovery() local
83 Bean bean = it.nextValue(); in testSimpleArrayRecovery() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/inject/
DTestInjectables.java103 InjectedBean bean = mapper.readValue("{\"value\":3}", InjectedBean.class); in testSimple() local
112 CtorBean bean = MAPPER.readerFor(CtorBean.class) in testWithCtors() local
122 CtorBean2 bean = MAPPER.readerFor(CtorBean2.class) in testTwoInjectablesViaCreator() local
144 Bean471 bean = mapper.readValue(aposToQuotes( in testIssue471() local
164 TransientBean bean = MAPPER.readerFor(TransientBean.class) in testTransientField() local
/external/snakeyaml/src/test/java/examples/staticstate/
DStaticFieldsWrapperTest.java35 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testWrapper() local
57 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testLocalTag() local
83 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testRootBean() local
DStaticFieldsTest.java39 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testAsJavaBean() local
56 JavaBeanWithStaticState bean = new JavaBeanWithStaticState(); in testCustomDump() local
112 JavaBeanWithStaticState bean = (JavaBeanWithStaticState) super in constructObject() local
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/
DInvalidDefinitionException.java45 BeanDescription bean, BeanPropertyDefinition prop) { in InvalidDefinitionException()
53 BeanDescription bean, BeanPropertyDefinition prop) { in InvalidDefinitionException()
61 BeanDescription bean, BeanPropertyDefinition prop) { in from()
71 BeanDescription bean, BeanPropertyDefinition prop) { in from()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue115/
DIssueBean.java19 private ParameterizedBean<Integer, String> bean = new ParameterizedBean<Integer, String>(); field in IssueBean
25 public void setBean(ParameterizedBean<Integer, String> bean) { in setBean()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DFilterPropertyToDumpTest.java31 BeanToRemoveProperty bean = new BeanToRemoveProperty(); in testFilterPropertyInJavaBeanDumper() local
41 BeanToRemoveProperty bean = new BeanToRemoveProperty(); in testFilterPropertyInYaml() local
51 BeanToRemoveProperty bean = new BeanToRemoveProperty(); in testDoNotFilterPropertyIncludeReadOnly() local
DRepresentFieldTest.java26 WrongJavaBean bean = new WrongJavaBean(); in testRepresent1() local
38 WrongJavaBean bean = new WrongJavaBean(); in testWrongNotPublicField() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestGenerics.java76 SimpleBean bean = (SimpleBean) contents; in testGenericWrapper() local
93 SimpleBean bean = (SimpleBean) contents; in testGenericWrapperWithSingleElementArray() local
157 SimpleBean bean = (SimpleBean) contents; in testArrayOfGenericWrappers() local
177 SimpleBean bean = (SimpleBean) contents; in testArrayOfGenericWrappersSingleValueArray() local
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DBigDecimalBeanConstructorTest.java27 BigDecimalJavaBean bean = new BigDecimalJavaBean(); in testRepresentor() local
41 BigDecimalJavaBean bean = (BigDecimalJavaBean) yaml.load(className); in testConstructor() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestMapConversions.java75 Bean bean = MAPPER.convertValue(map, Bean.class); in testMapToBean() local
82 Bean bean = new Bean(); in testBeanToMap() local
104 Bean bean = new Bean(); in testMapToProperties() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/
DBuilderInfiniteLoop1978Test.java29 Bean bean = new Bean(id); in build() local
67 SubBean bean = new SubBean(); in build() local
92 Bean bean = mapper.readValue( json, Bean.class ); in testInfiniteLoop1978() local
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java32 CalendarBean bean = new CalendarBean(); in testDumpDstIgnored() local
82 CalendarBean bean = new CalendarBean(); in check() local
101 CalendarBean bean = beanLoader.loadAs( in testLoadBean() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestRootName.java36 Bean bean = mapper.readValue(json, Bean.class); in testRootViaMapper() local
126 Bean bean = mapper.readerFor(Bean.class).readValue(json); in testRootViaWriterAndReader() local
167 Bean bean = reader.readValue(json); in testRootUsingExplicitConfig() local

12345678