Home
last modified time | relevance | path

Searched refs:SimpleModule (Results 1 – 25 of 43) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleModule.java39 public class SimpleModule class
105 public SimpleModule() { in SimpleModule() method in SimpleModule
108 _name = (getClass() == SimpleModule.class) ? in SimpleModule()
118 public SimpleModule(String name) { in SimpleModule() method in SimpleModule
126 public SimpleModule(Version version) { in SimpleModule() method in SimpleModule
140 public SimpleModule(String name, Version version) { in SimpleModule() method in SimpleModule
148 public SimpleModule(String name, Version version, in SimpleModule() method in SimpleModule
156 public SimpleModule(String name, Version version, in SimpleModule() method in SimpleModule
164 public SimpleModule(String name, Version version, in SimpleModule() method in SimpleModule
185 if (getClass() == SimpleModule.class) { in getTypeId()
[all …]
/external/guice/core/test/com/google/inject/
DDuplicateBindingsTest.java53 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo), in testDuplicateBindingsAreIgnored()
54 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo)); in testDuplicateBindingsAreIgnored()
74 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo), in testElementsDeduplicate()
75 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo)); in testElementsDeduplicate()
120 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo), in testMixedScopeAndUnscopedIgnored()
127 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo), in testMixedScopeFails()
137 + SimpleModule.class.getName(); in testMixedScopeFails()
144 + SimpleModule.class.getName(); in testMixedScopeFails()
151 + SimpleModule.class.getName(); in testMixedScopeFails()
156 + SimpleModule.class.getName(); in testMixedScopeFails()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DSimpleModuleArgCheckTest.java21 SimpleModule mod = new SimpleModule("test", Version.unknownVersion(), in testInvalidForDeserializers()
47 SimpleModule mod = new SimpleModule("test", Version.unknownVersion(), in testInvalidForSerializers()
83 SimpleModule mod = new SimpleModule("test", Version.unknownVersion(), in testInvalidAbstractTypeMapping()
102 SimpleModule mod = new SimpleModule("test", Version.unknownVersion(), in testInvalidSubtypeMappings()
121 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testInvalidValueInstantiator()
139 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testInvalidMixIn()
DTestAbstractTypes.java10 import com.fasterxml.jackson.databind.module.SimpleModule;
90 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testCollectionDefaulting()
102 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testMapDefaultingBasic()
114 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testDefaultingRecursive()
142 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testInterfaceDefaulting()
151 mod = new SimpleModule(); in testInterfaceDefaulting()
163 SimpleModule module1 = new SimpleModule("module1"); in testAbstractMappingsFromTwoModules()
166 SimpleModule module2 = new SimpleModule("module2"); in testAbstractMappingsFromTwoModules()
DSimpleModuleTest.java12 import com.fasterxml.jackson.databind.module.SimpleModule;
140 protected static class MySimpleModule extends SimpleModule
153 protected static class AnotherSimpleModule extends SimpleModule
179 static class TestModule626 extends SimpleModule {
233 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleBeanSerializer()
242 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleEnumSerializer()
252 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleInterfaceSerializer()
255 List<SimpleModule> mods = Arrays.asList(mod); in testSimpleInterfaceSerializer()
270 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleBeanDeserializer()
281 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleEnumDeserializer()
[all …]
DTestCustomEnumKeyDeserializer.java138 static class TestEnumModule extends SimpleModule {
207 SimpleModule simpleModule = new SimpleModule(); in testCustomEnumKeySerializerWithPolymorphic()
229 SimpleModule module = new SimpleModule(); in testCustomEnumValueAndKeyViaModifier()
DTestKeyDeserializers.java35 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testKeyDeserializers()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualSerialization.java12 import com.fasterxml.jackson.databind.module.SimpleModule;
228 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testMethodAnnotations()
239 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testClassAnnotations()
248 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testWrappedBean()
258 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testMethodAnnotationInArray()
269 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testMethodAnnotationInList()
280 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testMethodAnnotationInMap()
297 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testResolveOnContextual()
319 .addModule(new SimpleModule("test", Version.unknownVersion()) in testRootContextualization2429()
DTestContextualKeyTypes.java12 import com.fasterxml.jackson.databind.module.SimpleModule;
94 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testSimpleKeySer()
113 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testSimpleKeyDeser()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DNullHandlingTest.java15 import com.fasterxml.jackson.databind.module.SimpleModule;
98 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testAnySetterNulls()
124 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testCustomRootNulls()
144 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testListOfNulls()
169 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testMapOfNulls()
DTestBeanDeserializer.java12 import com.fasterxml.jackson.databind.module.SimpleModule;
35 static class ModuleImpl extends SimpleModule
130 public class Issue476Module extends SimpleModule
215 public class Issue1912Module extends SimpleModule {
377 mapper.registerModule(new SimpleModule("test")
387 mapper.registerModule(new SimpleModule("test")
398 mapper.registerModule(new SimpleModule("test")
409 mapper.registerModule(new SimpleModule("test")
419 mapper.registerModule(new SimpleModule("test")
434 mapper.registerModule(new SimpleModule("test")
DTestCustomDeserializers.java15 import com.fasterxml.jackson.databind.module.SimpleModule;
257 static class DelegatingModuleImpl extends SimpleModule
367 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testDelegating()
391 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testJsonNodeDelegating()
421 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testContextReadValue()
449 new SimpleModule().addDeserializer(String.class, new UCStringDeserializer()) in testCustomStringDeser()
469 .addModule(new SimpleModule() in testModifyingCustomDeserializer()
490 .addModule(new SimpleModule() in testCustomSerializerWithReadTree()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestIgnoredTypes.java8 import com.fasterxml.jackson.databind.module.SimpleModule;
83 SimpleModule module = new SimpleModule(); in testSingleWithMixins()
93 SimpleModule module = new SimpleModule(); in testListWithMixins()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerModifierTest.java11 import com.fasterxml.jackson.databind.module.SimpleModule;
28 static class SerializerModifierModule extends SimpleModule
292 mapper.registerModule(new SimpleModule("test", Version.unknownVersion()) {
307 mapper.registerModule(new SimpleModule("test", Version.unknownVersion()) {
324 mapper.registerModule(new SimpleModule("test")
332 mapper.registerModule(new SimpleModule("test")
340 mapper.registerModule(new SimpleModule("test")
348 mapper.registerModule(new SimpleModule("test")
356 mapper.registerModule(new SimpleModule("test")
DTestCustomSerializers.java18 import com.fasterxml.jackson.databind.module.SimpleModule;
210 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testCustomLists()
234 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testDelegating()
278 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testWithCustomElements()
DBeanSerializerModifier1612Test.java9 import com.fasterxml.jackson.databind.module.SimpleModule;
54 SimpleModule mod = new SimpleModule(); in testIssue1612()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DMapKeySerializationTest.java21 import com.fasterxml.jackson.databind.module.SimpleModule;
204 SimpleModule mod = new SimpleModule("test"); in testCustomForEnum()
233 SimpleModule mod = new SimpleModule("test"); in testCustomEnumInnerMapKey()
276 SimpleModule mod = new SimpleModule("test"); in testUnWrappedMapWithKeySerializer()
296 SimpleModule mod = new SimpleModule("test"); in testUnWrappedMapWithDefaultType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DUntypedDeserializationTest.java18 import com.fasterxml.jackson.databind.module.SimpleModule;
246 SimpleModule m = new SimpleModule("test-module"); in testUntypedWithCustomScalarDesers()
268 SimpleModule m = new SimpleModule("test-module"); in testNonVanilla()
290 SimpleModule m = new SimpleModule("test-module"); in testUntypedWithListDeser()
307 SimpleModule m = new SimpleModule("test-module"); in testUntypedWithMapDeser()
412 SimpleModule m = new SimpleModule("test-module") in testValueUpdateCustomUntyped()
503 SimpleModule m = new SimpleModule("test-module") in testPolymorphicUntypedCustom()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/
DTestMixinMerging.java6 import com.fasterxml.jackson.databind.module.SimpleModule;
40 SimpleModule module = new SimpleModule("Test"); in testDisappearingMixins515()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DAbstractTypeMapping1186Test.java7 import com.fasterxml.jackson.databind.module.SimpleModule;
36SimpleModule module = new SimpleModule().addAbstractTypeMapping(IContainer.class, MyContainer.clas… in testDeserializeMyContainer()
DTypeResolverTest.java9 import com.fasterxml.jackson.databind.module.SimpleModule;
44 SimpleModule basicModule = new SimpleModule(); in testSubtypeResolution()
DTestSubtypes.java14 import com.fasterxml.jackson.databind.module.SimpleModule;
214 SimpleModule module = new SimpleModule(); in testSubtypesViaModule()
223 module = new SimpleModule(); in testSubtypesViaModule()
368 SimpleModule module = new SimpleModule("test", Version.unknownVersion()); in testDefaultImplViaModule()
/external/dagger2/javatests/artifacts/dagger/java-app/src/main/java/app/
DSimpleApplication.java32 static final class SimpleModule { class in SimpleApplication
40 @Component(modules = { SimpleModule.class })
/external/dagger2/javatests/artifacts/dagger/kotlin-app/src/main/kotlin/app/
DSimpleApplication.kt31 object SimpleModule { object in app.SimpleApplication
39 @Component(modules = [SimpleModule::class])
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DTestExceptionsDuringWriting.java8 import com.fasterxml.jackson.databind.module.SimpleModule;
53 SimpleModule module = new SimpleModule("test-exceptions", Version.unknownVersion()); in testCatchAndRethrow()

12