/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | TestTypeFactoryWithClassLoader.java | 51 …TypeFactory spySut = spy(mapper.getTypeFactory().withModifier(typeModifier).withClassLoader(classL… in testUsesCorrectClassLoaderWhenThreadClassLoaderIsNull() 63 …TypeFactory spySut = spy(mapper.getTypeFactory().withModifier(typeModifier).withClassLoader(classL… in testUsesCorrectClassLoaderWhenThreadClassLoaderIsNotNull() 74 TypeFactory sut = mapper.getTypeFactory().withModifier(typeModifier); in testCallingOnlyWithModifierGivesExpectedResults() 81 TypeFactory sut = mapper.getTypeFactory().withClassLoader(classLoader); in testCallingOnlyWithClassLoaderGivesExpectedResults() 88 TypeFactory sut = mapper.getTypeFactory().withModifier(typeModifier).withClassLoader(classLoader); in testDefaultTypeFactoryNotAffectedByWithConstructors() 91 Assert.assertNull(mapper.getTypeFactory().getClassLoader()); in testDefaultTypeFactoryNotAffectedByWithConstructors() 92 Assert.assertArrayEquals(null,mapper.getTypeFactory()._modifiers); in testDefaultTypeFactoryNotAffectedByWithConstructors() 97 TypeFactory sut = mapper.getTypeFactory().withModifier(typeModifier).withClassLoader(classLoader); in testSetsTheCorrectClassLoderIfUsingWithModifierFollowedByWithClassLoader() 103 TypeFactory sut = mapper.getTypeFactory().withClassLoader(classLoader).withModifier(typeModifier); in testSetsTheCorrectClassLoderIfUsingWithClassLoaderFollowedByWithModifier() 109 TypeFactory spySut = spy(mapper.getTypeFactory()); in testThreadContextClassLoaderIsUsedIfNotUsingWithClassLoader() [all …]
|
D | ContainerTypesTest.java | 29 JavaType t = MAPPER.getTypeFactory() in testExplicitCollectionType() 37 JavaType t = MAPPER.getTypeFactory() in testImplicitCollectionType() 47 TypeFactory tf = MAPPER.getTypeFactory().withCache(new LRUMap<Object,JavaType>(4, 8)); in testMissingCollectionType() 56 JavaType t = MAPPER.getTypeFactory() in testExplicitMapType() 66 JavaType t = MAPPER.getTypeFactory() in testImplicitMapType() 82 MAPPER.getTypeFactory() in testMismatchedCollectionType() 95 MAPPER.getTypeFactory() in testMismatchedMapType() 104 MAPPER.getTypeFactory() in testMismatchedMapType()
|
D | RecursiveTypeTest.java | 94 TypeFactory tf = objectMapper().getTypeFactory(); in testJavaTypeToString() 108 TypeFactory tf = objectMapper().getTypeFactory(); in testSuperClassWithReferencedJavaType()
|
D | DeprecatedConstructType1456Test.java | 33 … JavaType resolvedType = MAPPER.getTypeFactory().constructType(entityType, ImplController.class); in testGenericResolutionUsingDeprecated()
|
D | RecursiveType1658Test.java | 48 JavaType resolved = mapper.getTypeFactory() in testRecursive1658()
|
D | PolymorphicList036Test.java | 95 … JavaType type = MAPPER.getTypeFactory().constructCollectionType(StringyList.class, String.class); in testPolymorphicWithOverride()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoerceContainersTest.java | 30 final JavaType listType = VANILLA_MAPPER.getTypeFactory() in testScalarCollections() 40 final JavaType listType = VANILLA_MAPPER.getTypeFactory() in testStringCollections() 56 final JavaType mapType = VANILLA_MAPPER.getTypeFactory() in testScalarMap() 66 final JavaType mapType = VANILLA_MAPPER.getTypeFactory() in testEnumMap() 82 final JavaType arrayType = VANILLA_MAPPER.getTypeFactory() in testObjectArray() 92 final JavaType arrayType = VANILLA_MAPPER.getTypeFactory() in testStringArray()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | DatabindContext.java | 151 return getTypeFactory().constructType(type); in constructType() 182 JavaType t = getTypeFactory().constructFromCanonical(subClassName); in resolveSubType() 189 cls = getTypeFactory().findClass(subClassName); in resolveSubType() 199 return getTypeFactory().constructSpecializedType(baseType, cls); in resolveSubType() 227 cls = getTypeFactory().findClass(subClass); in resolveAndValidateSubType() 239 final JavaType subType = config.getTypeFactory().constructSpecializedType(baseType, cls); in resolveAndValidateSubType() 262 JavaType subType = getTypeFactory().constructFromCanonical(subClass); in _resolveAndValidateGeneric() 305 public abstract TypeFactory getTypeFactory(); in getTypeFactory() method in DatabindContext
|
D | DeserializationContext.java | 289 public final TypeFactory getTypeFactory() { in getTypeFactory() method in DeserializationContext 290 return _config.getTypeFactory(); in getTypeFactory() 302 return getConfig().getTypeFactory().constructSpecializedType(baseType, subclass, false); in constructSpecializedType() 671 return getTypeFactory().findClass(className); in findClass() 895 return readValue(p, getTypeFactory().constructType(type)); in readValue() 920 return readPropertyValue(p, prop, getTypeFactory().constructType(type)); in readPropertyValue()
|
D | ObjectReader.java | 755 return forType(_config.getTypeFactory().constructType(valueTypeRef.getType())); in forType() 779 return forType(_config.getTypeFactory().constructType(valueType)); in withType() 787 return forType(_config.getTypeFactory().constructType(valueTypeRef.getType())); in withType() 980 public TypeFactory getTypeFactory() { in getTypeFactory() method in ObjectReader 981 return _config.getTypeFactory(); in getTypeFactory() 2363 t = getTypeFactory().constructType(JsonNode.class); in _jsonNodeType()
|
D | Module.java | 149 public TypeFactory getTypeFactory(); in getTypeFactory() method
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | MapperConfig.java | 293 public final TypeFactory getTypeFactory() { in getTypeFactory() method in MapperConfig 294 return _base.getTypeFactory(); in getTypeFactory() 306 return getTypeFactory().constructType(cls); in constructType() 318 return getTypeFactory().constructType(valueTypeRef.getType()); in constructType() 323 return getTypeFactory().constructSpecializedType(baseType, subclass, true); in constructSpecializedType()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestTypeModifiers.java | 239 … JavaType type = MAPPER_WITH_MODIFIER.getTypeFactory().constructParametricType(MapMarker.class, in testMapLikeTypeViaParametric() 277 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new MyTypeModifier())); in testCollectionLikeSerialization() 285 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new MyTypeModifier())); in testMapLikeSerialization() 295 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new MyTypeModifier())); in testCollectionLikeDeserialization() 306 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new MyTypeModifier())); in testMapLikeDeserialization()
|
D | TestTypeModifierNameResolution.java | 50 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new CustomTypeModifier())); in testTypeModiferNameResolution()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ |
D | StdTypeResolverBuilder.java | 174 defaultImpl = config.getTypeFactory().constructType(_defaultImpl); in defineDefaultImpl() 180 defaultImpl = config.getTypeFactory() in defineDefaultImpl()
|
D | MinimalClassNameIdResolver.java | 44 return new MinimalClassNameIdResolver(baseType, config.getTypeFactory(), ptv); in construct()
|
D | ClassNameIdResolver.java | 44 return new ClassNameIdResolver(baseType, config.getTypeFactory(), ptv); in construct()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | NullHandlingTest.java | 149 JavaType type = mapper.getTypeFactory().constructCollectionType(List.class, String.class); in testListOfNulls() 173 … JavaType type = mapper.getTypeFactory().constructMapType(Map.class, String.class, String.class); in testMapOfNulls()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | AbstractTypeMapping1186Test.java | 40 mapper.getTypeFactory().constructParametricType(IContainer.class, MyObject.class)); in testDeserializeMyContainer()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/ |
D | SimpleAbstractTypeResolver.java | 80 return config.getTypeFactory().constructSpecializedType(type, dst); in findTypeMapping()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedClassResolver.java | 146 _bindings, _intr, _mixInResolver, _config.getTypeFactory(), in resolveFully() 155 _bindings, _intr, _mixInResolver, _config.getTypeFactory(), in resolveWithoutSuperTypes()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/ |
D | ExternalTypeCustomResolverTest.java | 166 … return context.getTypeFactory().constructType(FormOfPayment.valueOf(id).getDetailsClass ()); in typeFromId() 400 … return context.getTypeFactory().constructType(FormOfPayment.valueOf (id).getDetailsClass ()); in typeFromId()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | DeprecatedTypeHandling1102Test.java | 95 TypeFactory tf = MAPPER.getTypeFactory(); in testDeprecatedTypeResolution()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | DeserializerCache.java | 352 JavaType delegateType = conv.getInputType(ctxt.getTypeFactory()); in _createDeserializer() 449 JavaType delegateType = conv.getInputType(ctxt.getTypeFactory()); in findConvertingDeserializer()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/ |
D | VisibilityForSerializationTest.java | 160 JavaType javaType = om.getTypeFactory().constructType(TCls.class); in testVisibilityFeatures()
|