Searched refs:withModifier (Results 1 – 7 of 7) sorted by relevance
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()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()
640 TypeFactory tf = TypeFactory.defaultInstance().withModifier(null); in testCacheClearing()652 TypeFactory tf = TypeFactory.defaultInstance().withModifier(null); // to get a new copy in testRawMapType()
217 .typeFactory(TypeFactory.defaultInstance().withModifier(new MyTypeModifier()))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()
50 mapper.setTypeFactory(mapper.getTypeFactory().withModifier(new CustomTypeModifier())); in testTypeModiferNameResolution()
266 return TypeFactory.defaultInstance().withModifier(null); in newTypeFactory()
189 public TypeFactory withModifier(TypeModifier mod) in withModifier() method in TypeFactory
936 f = f.withModifier(modifier); in registerModule()