/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | TestTypeFactory1604.java | 40 assertEquals(Data1604.class, base.getRawClass()); in testCustomTypesRefinedSimple() 42 assertEquals(List.class, base.containedType(0).getRawClass()); in testCustomTypesRefinedSimple() 45 assertEquals(DataList1604.class, subtype.getRawClass()); in testCustomTypesRefinedSimple() 48 assertEquals(Long.class, paramType.getRawClass()); in testCustomTypesRefinedSimple() 55 assertEquals(Data1604.class, base.getRawClass()); in testCustomTypesRefinedNested() 58 assertEquals(RefinedDataList1604.class, subtype.getRawClass()); in testCustomTypesRefinedNested() 59 assertEquals(DataList1604.class, subtype.getSuperClass().getRawClass()); in testCustomTypesRefinedNested() 63 assertEquals(Long.class, paramType.getRawClass()); in testCustomTypesRefinedNested() 70 assertEquals(Data1604.class, base.getRawClass()); in testCustomTypesRefinedSneaky() 73 assertEquals(SneakyDataList1604.class, subtype.getRawClass()); in testCustomTypesRefinedSneaky() [all …]
|
D | TestTypeFactory.java | 104 assertSame(clz, tf.constructType(clz).getRawClass()); in testSimpleTypes() 105 assertSame(clz, tf.constructType(clz).getRawClass()); in testSimpleTypes() 122 assertSame(clz, tf.constructType(clz).getRawClass()); in testArrays() 124 assertSame(clz, tf.constructArrayType(elemType).getRawClass()); in testArrays() 134 assertSame(Properties.class, t.getRawClass()); in testProperties() 139 assertSame(String.class, mt.getKeyType().getRawClass()); in testProperties() 140 assertSame(String.class, mt.getContentType().getRawClass()); in testProperties() 148 assertSame(Iterator.class, t.getRawClass()); in testIterator() 265 assertEquals(List.class, t.getRawClass()); in testCanonicalNames() 273 assertEquals(Object.class, t.getContentType().getRawClass()); in testCanonicalNames() [all …]
|
D | ContainerTypesTest.java | 31 assertEquals(LongList.class, t.getRawClass()); in testExplicitCollectionType() 32 assertEquals(Long.class, t.getContentType().getRawClass()); in testExplicitCollectionType() 40 assertEquals(List.class, t.getRawClass()); in testImplicitCollectionType() 41 assertEquals(Long.class, t.getContentType().getRawClass()); in testImplicitCollectionType() 50 assertEquals(List.class, t.getRawClass()); in testMissingCollectionType() 51 assertEquals(HashMap.class, t.getContentType().getRawClass()); in testMissingCollectionType() 59 assertEquals(StringLongMap.class, t.getRawClass()); in testExplicitMapType() 60 assertEquals(String.class, t.getKeyType().getRawClass()); in testExplicitMapType() 61 assertEquals(Long.class, t.getContentType().getRawClass()); in testExplicitMapType() 69 assertEquals(Long.class, t.getKeyType().getRawClass()); in testImplicitMapType() [all …]
|
D | TestJavaType.java | 73 assertEquals(CharSequence.class, t.getRawClass()); in testLocalType728() 76 assertEquals(CharSequence.class, t.getRawClass()); in testLocalType728() 80 assertEquals(CharSequence.class, t.getRawClass()); in testLocalType728() 82 assertEquals(CharSequence.class, t.getRawClass()); in testLocalType728() 89 assertSame(BaseType.class, baseType.getRawClass()); in testSimpleClass() 174 assertTrue(enumT.getRawClass().isEnum()); in testEnumType() 200 assertFalse(enumSubT.getRawClass().isEnum()); in testEnumType() 253 assertEquals(String.class, ct.getRawClass()); in testAnchorTypeForRefTypes() 257 assertEquals(AtomicReference.class, rt.getAnchorType().getRawClass()); in testAnchorTypeForRefTypes() 268 assertEquals(AtomicReference.class, sub.getRawClass()); in testObjectToReferenceSpecialization() [all …]
|
D | TestTypeResolution.java | 45 assertSame(LongValuedMap.class, type.getRawClass()); in testMaps() 55 assertSame(MyLongList.class, type.getRawClass()); in testListViaTypeRef() 64 assertSame(LongList.class, type.getRawClass()); in testListViaClass() 76 assertEquals(Double.class, rangeParams.containedType(0).getRawClass()); in testGeneric() 82 assertEquals(Double.class, rangeParams.containedType(0).getRawClass()); in testGeneric()
|
D | TestTypeBindings.java | 50 assertEquals(Object.class, keyType.getRawClass()); in testInnerType() 52 assertEquals(Collection.class, valueType.getRawClass()); in testInnerType() 54 assertEquals(Object.class, vt2.getRawClass()); in testInnerType() 70 assertEquals(Object.class, b.getBoundType(0).getRawClass()); in testBindingsBasics()
|
D | DeprecatedConstructType1456Test.java | 34 assertEquals(ImplEntity.class, resolvedType.getRawClass()); in testGenericResolutionUsingDeprecated() 47 assertEquals(ImplEntity.class, param.getType().getRawClass()); in testGenericParameterViaClass()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedClassResolver.java | 52 _class = type.getRawClass(); in AnnotatedClassResolver() 86 if (forType.isArrayType() && skippableArray(config, forType.getRawClass())) { in resolve() 87 return createArrayType(config, forType.getRawClass()); in resolve() 99 if (forType.isArrayType() && skippableArray(config, forType.getRawClass())) { in resolveWithoutSuperTypes() 100 return createArrayType(config, forType.getRawClass()); in resolveWithoutSuperTypes() 162 final Class<?> cls = type.getRawClass(); in _addSuperTypes() 186 final Class<?> cls = type.getRawClass(); in _addSuperInterfaces() 204 if (found.get(i).getRawClass() == raw) { in _contains() 254 Class<?> cls = type.getRawClass(); in resolveClassAnnotations() 260 ClassUtil.findClassAnnotations(type.getRawClass())); in resolveClassAnnotations()
|
D | AnnotatedMethodCollector.java | 49 _addMemberMethods(tc, mainType.getRawClass(), methods, primaryMixIn); in collect() 53 …<?> mixin = (_mixInResolver == null) ? null : _mixInResolver.findMixInClassFor(type.getRawClass()); in collect() 56 type.getRawClass(), methods, mixin); in collect() 63 _addMethodMixIns(tc, mainType.getRawClass(), methods, mixin); //, mixins); in collect()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestTypeModifiers.java | 42 if (MapMarker.class.isAssignableFrom(type.getRawClass())) { in setupModule() 53 if (CollectionMarker.class.isAssignableFrom(type.getRawClass())) { in setupModule() 65 if (CollectionMarker.class.isAssignableFrom(type.getRawClass())) { in setupModule() 76 if (MapMarker.class.isAssignableFrom(type.getRawClass())) { in setupModule() 198 Class<?> raw = type.getRawClass(); in modifyType() 230 assertSame(String.class, param.getRawClass()); in testMapLikeTypeConstruction() 233 assertSame(Integer.class, param.getRawClass()); in testMapLikeTypeConstruction() 244 assertSame(String.class, param.getRawClass()); in testMapLikeTypeViaParametric() 248 assertSame(Double.class, param.getRawClass()); in testMapLikeTypeViaParametric() 271 assertSame(Integer.class, param.getRawClass()); in testCollectionLikeTypeConstruction()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | DeprecatedTypeHandling1102Test.java | 99 assertEquals(Point.class, t.getRawClass()); in testDeprecatedTypeResolution() 103 assertEquals(Point.class, t2.getRawClass()); in testDeprecatedTypeResolution() 107 assertEquals(Point.class, t3.getRawClass()); in testDeprecatedTypeResolution()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | BasicSerializerFactory.java | 228 … ser = StdKeySerializers.getStdKeySerializer(config, keyType.getRawClass(), false); in createKeySerializer() 242 … ser = StdKeySerializers.getFallbackKeySerializer(config, keyType.getRawClass()); in createKeySerializer() 278 ser = StdKeySerializers.getStdKeySerializer(config, keyType.getRawClass(), false); in createKeySerializer() 291 … ser = StdKeySerializers.getFallbackKeySerializer(config, keyType.getRawClass()); in createKeySerializer() 313 BeanDescription bean = config.introspectClassAnnotations(baseType.getRawClass()); in createTypeSerializer() 356 Class<?> raw = type.getRawClass(); in findSerializerByLookup() 391 Class<?> raw = type.getRawClass(); in findSerializerByAnnotations() 426 final Class<?> raw = type.getRawClass(); in findSerializerByPrimaryType() 502 Class<?> rawType = javaType.getRawClass(); in findSerializerByAddonType() 711 Class<?> raw = type.getRawClass(); in buildCollectionSerializer() [all …]
|
D | PropertyBuilder.java | 145 JsonInclude.Value inclV = _config.getDefaultInclusion(actualType.getRawClass(), in buildWriter() 266 Class<?> serClass = secondary.getRawClass(); in findSerializationType() 268 Class<?> rawDeclared = declaredType.getRawClass(); in findSerializationType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/ |
D | PropertySerializerMap.java | 73 return new SerializerAndMapResult(serializer, newWith(type.getRawClass(), serializer)); in findAndAddPrimarySerializer() 99 return new SerializerAndMapResult(serializer, newWith(type.getRawClass(), serializer)); in findAndAddSecondarySerializer() 129 return new SerializerAndMapResult(serializer, newWith(type.getRawClass(), serializer)); in findAndAddRootValueSerializer() 162 return new SerializerAndMapResult(serializer, newWith(type.getRawClass(), serializer)); in addSerializer()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StdKeyDeserializers.java | 45 return new StdKeyDeserializer.DelegatingKD(type.getRawClass(), deser); in constructDelegatingKeyDeserializer() 84 Class<?> raw = type.getRawClass(); in findKeyDeserializer()
|
D | EnumMapDeserializer.java | 79 _enumClass = mapType.getKeyType().getRawClass(); in EnumMapDeserializer() 380 return wrapAndThrow(e, _containerType.getRawClass(), keyName); in _deserializeUsingProperties() 415 wrapAndThrow(e, _containerType.getRawClass(), keyName); in _deserializeUsingProperties() 425 wrapAndThrow(e, _containerType.getRawClass(), keyName); in _deserializeUsingProperties()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | AbstractDeserializer.java | 70 Class<?> cls = _baseType.getRawClass(); in AbstractDeserializer() 88 Class<?> cls = _baseType.getRawClass(); in AbstractDeserializer() 185 return _baseType.getRawClass(); in handledType() 273 return ctxt.handleMissingInstantiator(_baseType.getRawClass(), bogus, p, in deserialize()
|
D | BasicDeserializerFactory.java | 169 Class<?> prevCls = type.getRawClass(); in mapAbstractType() 170 Class<?> nextCls = next.getRawClass(); in mapAbstractType() 185 Class<?> currClass = type.getRawClass(); in _mapAbstractType2() 1089 ConfigOverride co = config.getConfigOverride(prop.getType().getRawClass()); in _getSetterInfo() 1143 Class<?> raw = elemType.getRawClass(); in createArrayDeserializer() 1188 Class<?> collectionClass = type.getRawClass(); in createCollectionDeserializer() 1326 Class<?> mapClass = type.getRawClass(); in createMapDeserializer() 1360 mapClass = type.getRawClass(); in createMapDeserializer() 1470 final Class<?> enumClass = type.getRawClass(); in createEnumDeserializer() 1529 Class<? extends JsonNode> nodeClass = (Class<? extends JsonNode>) nodeType.getRawClass(); in createTreeDeserializer() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/ |
D | PolymorphicWithObjectId1551Test.java | 72 assertEquals(Car.class, e.getType().getRawClass()); in testFailingAbstractUsingProp() 86 assertEquals(Vehicle.class, e.getType().getRawClass()); in testFailingAbstractUsingProp()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ |
D | TypeDeserializerBase.java | 107 public String baseTypeName() { return _baseType.getRawClass().getName(); } in baseTypeName() 190 type = ctxt.constructSpecializedType(_baseType, type.getRawClass()); in _findDeserializer() 217 Class<?> raw = _defaultImpl.getRawClass(); in _findDefaultImplDeserializer()
|
D | ClassNameIdResolver.java | 134 Class<?> staticType = _baseType.getRawClass(); in _idFrom() 137 cls = _baseType.getRawClass(); in _idFrom()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/ |
D | TypeFactory.java | 280 return defaultInstance().constructType(t).getRawClass(); in rawClass() 397 final Class<?> rawBase = baseType.getRawClass(); in constructSpecializedType() 479 JavaType baseWithPlaceholders = tmpSub.findSuperType(baseType.getRawClass()); in _bindingsForSubtype() 482 …error: unable to locate supertype (%s) from resolved subtype %s", baseType.getRawClass().getName(), in _bindingsForSubtype() 544 if (exp.isTypeOrSuperTypeOf(act.getRawClass())) { in _resolveTypePlaceholders() 564 if (exp.getRawClass() != act.getRawClass()) { in _verifyAndResolvePlaceholders() 593 final Class<?> rawBase = baseType.getRawClass(); in constructGeneralizedType() 679 Class<?> raw1 = type1.getRawClass(); in moreSpecificType() 680 Class<?> raw2 = type2.getRawClass(); in moreSpecificType()
|
D | ArrayType.java | 47 Object emptyInstance = Array.newInstance(componentType.getRawClass(), 0); in construct() 53 Object emptyInstance = Array.newInstance(contentType.getRawClass(), 0); in withContentType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/ |
D | BeanAsArrayBuilderDeserializer.java | 308 wrapAndThrow(e, _beanType.getRawClass(), propName, ctxt); in _deserializeUsingPropertyBased() 312 if (builder.getClass() != _beanType.getRawClass()) { in _deserializeUsingPropertyBased() 356 …ectedToken(getValueType(ctxt), p.currentToken(), p, message, _beanType.getRawClass().getName(), p.… in _deserializeFromNonArray()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/ |
D | OptionalHandlerFactory.java | 89 final Class<?> rawType = type.getRawClass(); in findSerializer() 121 final Class<?> rawType = type.getRawClass(); in findDeserializer()
|