Home
last modified time | relevance | path

Searched refs:TypeFactory (Results 1 – 25 of 74) sorted by relevance

123

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java102 TypeFactory tf = TypeFactory.defaultInstance(); in testSimpleTypes()
120 TypeFactory tf = TypeFactory.defaultInstance(); in testArrays()
131 TypeFactory tf = TypeFactory.defaultInstance(); in testProperties()
145 TypeFactory tf = TypeFactory.defaultInstance(); in testIterator()
161 TypeFactory tf = TypeFactory.defaultInstance(); in testParametricTypes()
208 final TypeFactory tf = TypeFactory.defaultInstance(); in testInvalidParametricTypes()
232 TypeFactory tf = TypeFactory.defaultInstance(); in testCanonicalNames()
283 TypeFactory tf = TypeFactory.defaultInstance(); in testCanonicalWithSpaces()
302 final TypeFactory tf = TypeFactory.defaultInstance(); in testCollections()
327 final TypeFactory tf = TypeFactory.defaultInstance(); in testCollectionsWithBindings()
[all …]
DTestJavaType.java66 TypeFactory tf = TypeFactory.defaultInstance(); in testLocalType728()
87 TypeFactory tf = TypeFactory.defaultInstance(); in testSimpleClass()
112 TypeFactory tf = TypeFactory.defaultInstance(); in testDeprecated()
128 TypeFactory tf = TypeFactory.defaultInstance(); in testArrayType()
150 TypeFactory tf = TypeFactory.defaultInstance(); in testMapType()
171 TypeFactory tf = TypeFactory.defaultInstance(); in testEnumType()
217 TypeFactory tf = TypeFactory.defaultInstance(); in testJavaTypeAsJLRType()
227 TypeFactory tf = TypeFactory.defaultInstance(); in testGenericSignature1194()
248 TypeFactory tf = TypeFactory.defaultInstance(); in testAnchorTypeForRefTypes()
263 TypeFactory tf = TypeFactory.defaultInstance(); in testObjectToReferenceSpecialization()
[all …]
DTestTypeResolution.java11 import com.fasterxml.jackson.databind.type.TypeFactory;
42 TypeFactory tf = TypeFactory.defaultInstance(); in testMaps()
52 TypeFactory tf = TypeFactory.defaultInstance(); in testListViaTypeRef()
61 TypeFactory tf = TypeFactory.defaultInstance(); in testListViaClass()
70 TypeFactory tf = TypeFactory.defaultInstance(); in testGeneric()
DTestTypeFactoryWithClassLoader.java19 @PrepareForTest(TypeFactory.class)
51TypeFactory spySut = spy(mapper.getTypeFactory().withModifier(typeModifier).withClassLoader(classL… in testUsesCorrectClassLoaderWhenThreadClassLoaderIsNull()
63TypeFactory 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()
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()
119 TypeFactory spySut = spy(mapper.getTypeFactory()); in testUsesFallBackClassLoaderIfNoThreadClassLoaderAndNoWithClassLoader()
DTestTypeFactory1604.java8 import com.fasterxml.jackson.databind.type.TypeFactory;
38 TypeFactory tf = newTypeFactory(); in testCustomTypesRefinedSimple()
53 TypeFactory tf = newTypeFactory(); in testCustomTypesRefinedNested()
68 TypeFactory tf = newTypeFactory(); in testCustomTypesRefinedSneaky()
85 TypeFactory tf = newTypeFactory(); in testTwoParamSneakyCustom()
109 TypeFactory tf = newTypeFactory(); in testErrorForMismatch()
126 TypeFactory tf = newTypeFactory(); in testResolveGenericPartialSubtypes()
DTestTypeFactoryWithRecursiveTypes.java7 import com.fasterxml.jackson.databind.type.TypeFactory;
25 TypeFactory tf = TypeFactory.defaultInstance(); in testBasePropertiesIncludedWhenSerializingSubWhenSubTypeLoadedAfterBaseType()
DTestTypeBindings.java43 private final TypeFactory DEFAULT_TF = TypeFactory.defaultInstance();
67 TypeFactory.unknownType()); in testBindingsBasics()
81 JavaType unknown = TypeFactory.unknownType(); in testInvalidBindings()
DRecursiveTypeTest.java57 TypeFactory tf = TypeFactory.defaultInstance(); in testRecursiveType()
94 TypeFactory tf = objectMapper().getTypeFactory(); in testJavaTypeToString()
108 TypeFactory tf = objectMapper().getTypeFactory(); in testSuperClassWithReferencedJavaType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DStdConverter.java4 import com.fasterxml.jackson.databind.type.TypeFactory;
26 public JavaType getInputType(TypeFactory typeFactory) { in getInputType()
31 public JavaType getOutputType(TypeFactory typeFactory) { in getOutputType()
35 protected JavaType _findConverterType(TypeFactory tf) { in _findConverterType()
DConverter.java4 import com.fasterxml.jackson.databind.type.TypeFactory;
37 public JavaType getInputType(TypeFactory typeFactory); in getInputType()
47 public JavaType getOutputType(TypeFactory typeFactory); in getOutputType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DTypeResolutionContext.java7 import com.fasterxml.jackson.databind.type.TypeFactory;
21 private final TypeFactory _typeFactory;
24 public Basic(TypeFactory tf, TypeBindings b) { in Basic()
DAnnotatedFieldCollector.java10 import com.fasterxml.jackson.databind.type.TypeFactory;
18 private final TypeFactory _typeFactory;
29 TypeFactory types, MixInResolver mixins, boolean collectAnnotations) in AnnotatedFieldCollector()
39 MixInResolver mixins, TypeFactory types, in collectFields()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DTypeIdResolverBase.java8 import com.fasterxml.jackson.databind.type.TypeFactory;
26 protected final TypeFactory _typeFactory;
37 protected TypeIdResolverBase(JavaType baseType, TypeFactory typeFactory) { in TypeIdResolverBase()
DClassNameIdResolver.java10 import com.fasterxml.jackson.databind.type.TypeFactory;
29 protected ClassNameIdResolver(JavaType baseType, TypeFactory typeFactory) { in ClassNameIdResolver()
36 public ClassNameIdResolver(JavaType baseType, TypeFactory typeFactory, in ClassNameIdResolver()
89 protected String _idFrom(Object value, Class<?> cls, TypeFactory typeFactory) in _idFrom()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestTypedArrayDeserialization.java11 import com.fasterxml.jackson.databind.type.TypeFactory;
53 …JavaType type = TypeFactory.defaultInstance().constructCollectionType(TypedListAsWrapper.class, In… in testIntList()
72 …JavaType type = TypeFactory.defaultInstance().constructCollectionType(TypedListAsProp.class, Boole… in testBooleanListAsProp()
86 …JavaType type = TypeFactory.defaultInstance().constructCollectionType(TypedListAsWrapper.class, Lo… in testLongListAsWrapper()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DBaseSettings.java13 import com.fasterxml.jackson.databind.type.TypeFactory;
65 protected final TypeFactory _typeFactory;
146 PropertyNamingStrategy pns, TypeFactory tf, in BaseSettings()
166 PropertyNamingStrategy pns, TypeFactory tf, in BaseSettings()
245 public BaseSettings withTypeFactory(TypeFactory tf) { in withTypeFactory()
360 public TypeFactory getTypeFactory() { in getTypeFactory()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeParser.java17 protected final TypeFactory _factory;
19 public TypeParser(TypeFactory f) { in TypeParser()
26 public TypeParser withFactory(TypeFactory f) { in withFactory()
DTypeFactory.java35 public class TypeFactory // note: was final in 2.9, removed from 2.10 class
47 protected final static TypeFactory instance = new TypeFactory();
154 private TypeFactory() { in TypeFactory() method in TypeFactory
161 protected TypeFactory(LRUMap<Object,JavaType> typeCache) { in TypeFactory() method in TypeFactory
171 protected TypeFactory(LRUMap<Object,JavaType> typeCache, TypeParser p, in TypeFactory() method in TypeFactory
189 public TypeFactory withModifier(TypeModifier mod) in withModifier()
207 return new TypeFactory(typeCache, _parser, mods, _classLoader); in withModifier()
214 public TypeFactory withClassLoader(ClassLoader classLoader) { in withClassLoader()
215 return new TypeFactory(_typeCache, _parser, _modifiers, classLoader); in withClassLoader()
225 public TypeFactory withCache(LRUMap<Object,JavaType> cache) { in withCache()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/
DTestCoreXMLTypes.java8 import com.fasterxml.jackson.databind.type.TypeFactory;
93 TypeFactory f = TypeFactory.defaultInstance(); in testDeserializerLoading()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/impl/
DBeanPropertyMapTest.java10 import com.fasterxml.jackson.databind.type.TypeFactory;
15 protected final static JavaType BOGUS_TYPE = TypeFactory.unknownType();
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestJDKSerialization.java8 import com.fasterxml.jackson.databind.type.TypeFactory;
181 TypeFactory orig = TypeFactory.defaultInstance(); in testTypeFactory()
186 TypeFactory result = jdkDeserialize(bytes); in testTypeFactory()
/external/jackson-databind/attic/
DTypeBindings.java24 protected final TypeFactory _typeFactory;
68 public TypeBindings(TypeFactory typeFactory, ClassStack stack, Class<?> cc) in TypeBindings()
73 public TypeBindings(TypeFactory typeFactory, ClassStack stack, JavaType type) in TypeBindings()
88 private TypeBindings(TypeFactory tf, TypeBindings parent, ClassStack stack, in TypeBindings()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DBeanUtilTest.java9 import com.fasterxml.jackson.databind.type.TypeFactory;
49 TypeFactory tf = TypeFactory.defaultInstance(); in testGetDefaultValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifierNameResolution.java7 import com.fasterxml.jackson.databind.type.TypeFactory;
35 …public JavaType modifyType(JavaType type, Type jdkType, TypeBindings context, TypeFactory typeFact… in modifyType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdArraySerializers.java16 import com.fasterxml.jackson.databind.type.TypeFactory;
92 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Boole…
179 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Short…
333 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Integ…
418 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Long.…
493 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Float…
568 …private final static JavaType VALUE_TYPE = TypeFactory.defaultInstance().uncheckedSimpleType(Doubl…

123