calabash-android 0.4.7.pre4 → 0.4.7.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-android/helpers.rb +22 -1
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/lib/apktool-cli-1.5.3-SNAPSHOT.jar +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/instrumentation-backend/.classpath +4 -1
- data/test-server/instrumentation-backend/libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar +0 -0
- data/test-server/instrumentation-backend/libs/robotium-solo-4.1.jar +0 -0
- data/test-server/instrumentation-backend/src/org/antlr/runtime/LegacyCommonTokenStream.java +6 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTokenStream.java +3 -3
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/FastQueue.java +1 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BaseTreeAdaptor.java +4 -4
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonErrorNode.java +8 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeIterator.java +2 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/CalabashInstrumentationTestRunner.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/InstrumentationBackend.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +21 -11
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/NanoHTTPD.java +127 -68
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressButtonText.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressImageButtonDescription.java +2 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/Swipe.java +0 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListData.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemProperties.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemText.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/AssertGridViewContainsNoDuplicates.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/Press.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/SelectTab.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForProgress.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForTab.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +2 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTClassName.java +0 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +3 -2
- metadata +7 -411
- data/test-server/instrumentation-backend/libs/robotium-solo-3.6.jar +0 -0
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GetOpenedActivities.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GoBackToActivity.java +0 -67
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +0 -413
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +0 -937
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +0 -1197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +0 -879
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +0 -1434
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +0 -80
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +0 -161
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +0 -157
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +0 -57
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +0 -236
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +0 -176
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +0 -64
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +0 -518
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +0 -570
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +0 -1067
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +0 -539
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +0 -178
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +0 -228
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +0 -197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +0 -1757
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +0 -2966
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +0 -6
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +0 -239
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +0 -67
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +0 -408
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +0 -303
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +0 -398
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +0 -214
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +0 -387
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +0 -1485
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +0 -171
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +0 -123
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +0 -926
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +0 -262
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +0 -356
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +0 -339
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +0 -115
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +0 -335
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +0 -1154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +0 -190
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +0 -81
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +0 -255
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +0 -2885
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +0 -958
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +0 -554
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +0 -258
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +0 -1041
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +0 -198
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +0 -552
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +0 -137
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +0 -118
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +0 -32
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +0 -216
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +0 -894
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +0 -1537
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +0 -277
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +0 -1474
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +0 -177
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +0 -827
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +0 -326
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +0 -494
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +0 -280
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +0 -173
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +0 -139
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +0 -89
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +0 -314
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +0 -412
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +0 -201
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +0 -583
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +0 -1136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +0 -392
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +0 -55
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +0 -248
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +0 -75
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +0 -65
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +0 -217
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +0 -980
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +0 -143
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +0 -101
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +0 -615
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +0 -364
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +0 -813
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +0 -83
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +0 -209
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +0 -713
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +0 -648
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +0 -424
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +0 -53
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +0 -74
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +0 -110
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +0 -129
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +0 -69
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +0 -103
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +0 -121
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +0 -202
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +0 -86
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +0 -59
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +0 -206
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +0 -7
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +0 -806
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +0 -512
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +0 -140
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +0 -780
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +0 -18
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +0 -852
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +0 -93
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +0 -231
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +0 -304
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +0 -113
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +0 -42
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +0 -218
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +0 -116
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +0 -233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +0 -422
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +0 -281
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +0 -184
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +0 -476
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +0 -249
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +0 -204
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +0 -88
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +0 -146
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +0 -250
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +0 -351
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +0 -1165
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +0 -134
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +0 -645
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +0 -230
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +0 -105
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +0 -180
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +0 -348
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +0 -758
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +0 -136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +0 -106
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +0 -97
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +0 -72
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +0 -696
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +0 -299
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +0 -383
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +0 -969
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +0 -578
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +0 -50
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +0 -68
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +0 -503
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +0 -60
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +0 -294
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +0 -237
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +0 -282
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +0 -273
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +0 -251
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +0 -150
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +0 -707
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +0 -1233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +0 -79
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +0 -4
@@ -1,1485 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map;
|
2
|
-
|
3
|
-
import java.lang.annotation.Annotation;
|
4
|
-
import java.util.ArrayList;
|
5
|
-
import java.util.Collection;
|
6
|
-
import java.util.Collections;
|
7
|
-
import java.util.List;
|
8
|
-
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JsonSerialize;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.Annotated;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedClass;
|
13
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedConstructor;
|
14
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedField;
|
15
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedMember;
|
16
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedMethod;
|
17
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedParameter;
|
18
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.NopAnnotationIntrospector;
|
19
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.VisibilityChecker;
|
20
|
-
import sh.calaba.org.codehaus.jackson.map.jsontype.NamedType;
|
21
|
-
import sh.calaba.org.codehaus.jackson.map.jsontype.TypeResolverBuilder;
|
22
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Abstract class that defines API used for introspecting annotation-based
|
26
|
-
* configuration for serialization and deserialization. Separated
|
27
|
-
* so that different sets of annotations can be supported, and support
|
28
|
-
* plugged-in dynamically.
|
29
|
-
*<p>
|
30
|
-
* NOTE: due to rapid addition of new methods (and changes to existing methods),
|
31
|
-
* it is <b>strongly</b> recommended that custom implementations should not directly
|
32
|
-
* extend this class, but rather extend {@link NopAnnotationIntrospector}.
|
33
|
-
* This way added methods will not break backwards compatibility of custom annotation
|
34
|
-
* introspectors.
|
35
|
-
*/
|
36
|
-
public abstract class AnnotationIntrospector
|
37
|
-
{
|
38
|
-
/*
|
39
|
-
/**********************************************************
|
40
|
-
/* Helper types
|
41
|
-
/**********************************************************
|
42
|
-
*/
|
43
|
-
|
44
|
-
/**
|
45
|
-
* Value type used with managed and back references; contains type and
|
46
|
-
* logic name, used to link related references
|
47
|
-
*
|
48
|
-
* @since 1.6
|
49
|
-
*/
|
50
|
-
public static class ReferenceProperty
|
51
|
-
{
|
52
|
-
public enum Type {
|
53
|
-
/**
|
54
|
-
* Reference property that Jackson manages and that is serialized normally (by serializing
|
55
|
-
* reference object), but is used for resolving back references during
|
56
|
-
* deserialization.
|
57
|
-
* Usually this can be defined by using
|
58
|
-
* {@link sh.calaba.org.codehaus.jackson.annotate.JsonManagedReference}
|
59
|
-
*/
|
60
|
-
MANAGED_REFERENCE
|
61
|
-
|
62
|
-
/**
|
63
|
-
* Reference property that Jackson manages by suppressing it during serialization,
|
64
|
-
* and reconstructing during deserialization.
|
65
|
-
* Usually this can be defined by using
|
66
|
-
* {@link sh.calaba.org.codehaus.jackson.annotate.JsonBackReference}
|
67
|
-
*/
|
68
|
-
,BACK_REFERENCE
|
69
|
-
;
|
70
|
-
}
|
71
|
-
|
72
|
-
private final Type _type;
|
73
|
-
private final String _name;
|
74
|
-
|
75
|
-
public ReferenceProperty(Type t, String n) {
|
76
|
-
_type = t;
|
77
|
-
_name = n;
|
78
|
-
}
|
79
|
-
|
80
|
-
public static ReferenceProperty managed(String name) { return new ReferenceProperty(Type.MANAGED_REFERENCE, name); }
|
81
|
-
public static ReferenceProperty back(String name) { return new ReferenceProperty(Type.BACK_REFERENCE, name); }
|
82
|
-
|
83
|
-
public Type getType() { return _type; }
|
84
|
-
public String getName() { return _name; }
|
85
|
-
|
86
|
-
public boolean isManagedReference() { return _type == Type.MANAGED_REFERENCE; }
|
87
|
-
public boolean isBackReference() { return _type == Type.BACK_REFERENCE; }
|
88
|
-
}
|
89
|
-
|
90
|
-
/*
|
91
|
-
/**********************************************************
|
92
|
-
/* Factory methods
|
93
|
-
/**********************************************************
|
94
|
-
*/
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Factory method for accessing "no operation" implementation
|
98
|
-
* of introspector: instance that will never find any annotation-based
|
99
|
-
* configuration.
|
100
|
-
*
|
101
|
-
* @since 1.3
|
102
|
-
*/
|
103
|
-
public static AnnotationIntrospector nopInstance() {
|
104
|
-
return NopAnnotationIntrospector.instance;
|
105
|
-
}
|
106
|
-
|
107
|
-
public static AnnotationIntrospector pair(AnnotationIntrospector a1, AnnotationIntrospector a2) {
|
108
|
-
return new Pair(a1, a2);
|
109
|
-
}
|
110
|
-
|
111
|
-
/*
|
112
|
-
/**********************************************************
|
113
|
-
/* Access to possibly chained introspectors (1.7)
|
114
|
-
/**********************************************************
|
115
|
-
*/
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Method that can be used to collect all "real" introspectors that
|
119
|
-
* this introspector contains, if any; or this introspector
|
120
|
-
* if it is not a container. Used to get access to all container
|
121
|
-
* introspectors in their priority order.
|
122
|
-
*<p>
|
123
|
-
* Default implementation returns a Singleton list with this introspector
|
124
|
-
* as contents.
|
125
|
-
* This usually works for sub-classes, except for proxy or delegating "container
|
126
|
-
* introspectors" which need to override implementation.
|
127
|
-
*/
|
128
|
-
public Collection<AnnotationIntrospector> allIntrospectors() {
|
129
|
-
return Collections.singletonList(this);
|
130
|
-
}
|
131
|
-
|
132
|
-
/**
|
133
|
-
* Method that can be used to collect all "real" introspectors that
|
134
|
-
* this introspector contains, if any; or this introspector
|
135
|
-
* if it is not a container. Used to get access to all container
|
136
|
-
* introspectors in their priority order.
|
137
|
-
*<p>
|
138
|
-
* Default implementation adds this introspector in result; this usually
|
139
|
-
* works for sub-classes, except for proxy or delegating "container
|
140
|
-
* introspectors" which need to override implementation.
|
141
|
-
*/
|
142
|
-
public Collection<AnnotationIntrospector> allIntrospectors(Collection<AnnotationIntrospector> result) {
|
143
|
-
result.add(this);
|
144
|
-
return result;
|
145
|
-
}
|
146
|
-
|
147
|
-
/*
|
148
|
-
/**********************************************************
|
149
|
-
/* Generic annotation properties, lookup
|
150
|
-
/**********************************************************
|
151
|
-
*/
|
152
|
-
|
153
|
-
/**
|
154
|
-
* Method called by framework to determine whether given annotation
|
155
|
-
* is handled by this introspector.
|
156
|
-
*/
|
157
|
-
public abstract boolean isHandled(Annotation ann);
|
158
|
-
|
159
|
-
/*
|
160
|
-
/**********************************************************
|
161
|
-
/* General class annotations
|
162
|
-
/**********************************************************
|
163
|
-
*/
|
164
|
-
|
165
|
-
/**
|
166
|
-
* Method that checks whether specified class has annotations
|
167
|
-
* that indicate that it is (or is not) cachable. Exact
|
168
|
-
* semantics depend on type of class annotated and using
|
169
|
-
* class (factory or provider).
|
170
|
-
*<p>
|
171
|
-
* Currently only used
|
172
|
-
* with deserializers, to determine whether provider
|
173
|
-
* should cache instances, and if no annotations are found,
|
174
|
-
* assumes non-cachable instances.
|
175
|
-
*
|
176
|
-
* @return True, if class is considered cachable within context,
|
177
|
-
* False if not, and null if introspector does not care either
|
178
|
-
* way.
|
179
|
-
*/
|
180
|
-
public Boolean findCachability(AnnotatedClass ac) {
|
181
|
-
return null;
|
182
|
-
}
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Method for locating name used as "root name" (for use by
|
186
|
-
* some serializers when outputting root-level object -- mostly
|
187
|
-
* for XML compatibility purposes) for given class, if one
|
188
|
-
* is defined. Returns null if no declaration found; can return
|
189
|
-
* explicit empty String, which is usually ignored as well as null.
|
190
|
-
*
|
191
|
-
* @since 1.3
|
192
|
-
*/
|
193
|
-
public abstract String findRootName(AnnotatedClass ac);
|
194
|
-
|
195
|
-
/**
|
196
|
-
* Method for finding list of properties to ignore for given class
|
197
|
-
* (null is returned if not specified).
|
198
|
-
* List of property names is applied
|
199
|
-
* after other detection mechanisms, to filter out these specific
|
200
|
-
* properties from being serialized and deserialized.
|
201
|
-
*
|
202
|
-
* @since 1.4
|
203
|
-
*/
|
204
|
-
public abstract String[] findPropertiesToIgnore(AnnotatedClass ac);
|
205
|
-
|
206
|
-
/**
|
207
|
-
* Method for checking whether an annotation indicates that all unknown properties
|
208
|
-
*
|
209
|
-
* @since 1.4
|
210
|
-
*/
|
211
|
-
public abstract Boolean findIgnoreUnknownProperties(AnnotatedClass ac);
|
212
|
-
|
213
|
-
/**
|
214
|
-
* Method for checking whether properties that have specified type
|
215
|
-
* (class, not generics aware) should be completely ignored for
|
216
|
-
* serialization and deserialization purposes.
|
217
|
-
*
|
218
|
-
* @param ac Type to check
|
219
|
-
*
|
220
|
-
* @return Boolean.TRUE if properties of type should be ignored;
|
221
|
-
* Boolean.FALSE if they are not to be ignored, null for default
|
222
|
-
* handling (which is 'do not ignore')
|
223
|
-
*
|
224
|
-
* @since 1.7
|
225
|
-
*/
|
226
|
-
public Boolean isIgnorableType(AnnotatedClass ac) {
|
227
|
-
return null;
|
228
|
-
}
|
229
|
-
|
230
|
-
/**
|
231
|
-
* Method for finding if annotated class has associated filter; and if so,
|
232
|
-
* to return id that is used to locate filter.
|
233
|
-
*
|
234
|
-
* @return Id of the filter to use for filtering properties of annotated
|
235
|
-
* class, if any; or null if none found.
|
236
|
-
*/
|
237
|
-
public Object findFilterId(AnnotatedClass ac) {
|
238
|
-
return null;
|
239
|
-
}
|
240
|
-
|
241
|
-
/*
|
242
|
-
/**********************************************************
|
243
|
-
/* Property auto-detection
|
244
|
-
/**********************************************************
|
245
|
-
*/
|
246
|
-
|
247
|
-
/**
|
248
|
-
* Method for checking if annotations indicate changes to minimum visibility levels
|
249
|
-
* needed for auto-detecting property elements (fields, methods, constructors).
|
250
|
-
* A baseline checker is given, and introspector is to either return it as is (if
|
251
|
-
* no annotations are found), or build and return a derived instance (using checker's build
|
252
|
-
* methods).
|
253
|
-
*
|
254
|
-
* @since 1.5
|
255
|
-
*/
|
256
|
-
public VisibilityChecker<?> findAutoDetectVisibility(AnnotatedClass ac, VisibilityChecker<?> checker) {
|
257
|
-
return checker;
|
258
|
-
}
|
259
|
-
|
260
|
-
/*
|
261
|
-
/**********************************************************
|
262
|
-
/* Class annotations for Polymorphic type handling (1.5+)
|
263
|
-
/**********************************************************
|
264
|
-
*/
|
265
|
-
|
266
|
-
/**
|
267
|
-
* Method for checking if given class has annotations that indicate
|
268
|
-
* that specific type resolver is to be used for handling instances.
|
269
|
-
* This includes not only
|
270
|
-
* instantiating resolver builder, but also configuring it based on
|
271
|
-
* relevant annotations (not including ones checked with a call to
|
272
|
-
* {@link #findSubtypes}
|
273
|
-
*
|
274
|
-
* @param config Configuration settings in effect (for serialization or deserialization)
|
275
|
-
* @param ac Annotated class to check for annotations
|
276
|
-
* @param baseType Base java type of value for which resolver is to be found
|
277
|
-
*
|
278
|
-
* @return Type resolver builder for given type, if one found; null if none
|
279
|
-
*
|
280
|
-
* @since 1.5 -- although changed in 1.8 to pass configuration object
|
281
|
-
*/
|
282
|
-
public TypeResolverBuilder<?> findTypeResolver(MapperConfig<?> config,
|
283
|
-
AnnotatedClass ac, JavaType baseType) {
|
284
|
-
return null;
|
285
|
-
}
|
286
|
-
|
287
|
-
/**
|
288
|
-
* Method for checking if given property entity (field or method) has annotations
|
289
|
-
* that indicate that specific type resolver is to be used for handling instances.
|
290
|
-
* This includes not only
|
291
|
-
* instantiating resolver builder, but also configuring it based on
|
292
|
-
* relevant annotations (not including ones checked with a call to
|
293
|
-
* {@link #findSubtypes}
|
294
|
-
*
|
295
|
-
* @param config Configuration settings in effect (for serialization or deserialization)
|
296
|
-
* @param am Annotated member (field or method) to check for annotations
|
297
|
-
* @param baseType Base java type of property for which resolver is to be found
|
298
|
-
*
|
299
|
-
* @return Type resolver builder for properties of given entity, if one found;
|
300
|
-
* null if none
|
301
|
-
*
|
302
|
-
* @since 1.5 -- although changed in 1.8 to pass configuration object
|
303
|
-
*/
|
304
|
-
public TypeResolverBuilder<?> findPropertyTypeResolver(MapperConfig<?> config,
|
305
|
-
AnnotatedMember am, JavaType baseType) {
|
306
|
-
return null;
|
307
|
-
}
|
308
|
-
|
309
|
-
/**
|
310
|
-
* Method for checking if given structured property entity (field or method that
|
311
|
-
* has nominal value of Map, Collection or array type) has annotations
|
312
|
-
* that indicate that specific type resolver is to be used for handling type
|
313
|
-
* information of contained values.
|
314
|
-
* This includes not only
|
315
|
-
* instantiating resolver builder, but also configuring it based on
|
316
|
-
* relevant annotations (not including ones checked with a call to
|
317
|
-
* {@link #findSubtypes}
|
318
|
-
*
|
319
|
-
* @param config Configuration settings in effect (for serialization or deserialization)
|
320
|
-
* @param am Annotated member (field or method) to check for annotations
|
321
|
-
* @param containerType Type of property for which resolver is to be found (must be a container type)
|
322
|
-
*
|
323
|
-
* @return Type resolver builder for values contained in properties of given entity,
|
324
|
-
* if one found; null if none
|
325
|
-
*
|
326
|
-
* @since 1.5 -- although changed in 1.8 to pass configuration object
|
327
|
-
*/
|
328
|
-
public TypeResolverBuilder<?> findPropertyContentTypeResolver(MapperConfig<?> config,
|
329
|
-
AnnotatedMember am, JavaType containerType) {
|
330
|
-
return null;
|
331
|
-
}
|
332
|
-
|
333
|
-
/**
|
334
|
-
* Method for locating annotation-specified subtypes related to annotated
|
335
|
-
* entity (class, method, field). Note that this is only guaranteed to be
|
336
|
-
* a list of directly
|
337
|
-
* declared subtypes, no recursive processing is guarantees (i.e. caller
|
338
|
-
* has to do it if/as necessary)
|
339
|
-
*
|
340
|
-
* @param a Annotated entity (class, field/method) to check for annotations
|
341
|
-
*
|
342
|
-
* @since 1.5
|
343
|
-
*/
|
344
|
-
public List<NamedType> findSubtypes(Annotated a) {
|
345
|
-
return null;
|
346
|
-
}
|
347
|
-
|
348
|
-
/**
|
349
|
-
* Method for checking if specified type has explicit name.
|
350
|
-
*
|
351
|
-
* @param ac Class to check for type name annotations
|
352
|
-
*
|
353
|
-
* @since 1.5
|
354
|
-
*/
|
355
|
-
public String findTypeName(AnnotatedClass ac) {
|
356
|
-
return null;
|
357
|
-
}
|
358
|
-
|
359
|
-
/*
|
360
|
-
/**********************************************************
|
361
|
-
/* General member (field, method/constructor) annotations
|
362
|
-
/**********************************************************
|
363
|
-
*/
|
364
|
-
|
365
|
-
/**
|
366
|
-
* Note: defined as non-abstract to reduce fragility between
|
367
|
-
* versions.
|
368
|
-
*
|
369
|
-
* @since 1.6
|
370
|
-
*/
|
371
|
-
public ReferenceProperty findReferenceType(AnnotatedMember member) {
|
372
|
-
return null;
|
373
|
-
}
|
374
|
-
|
375
|
-
/**
|
376
|
-
* Method called to check whether given property is marked to be "unwrapped"
|
377
|
-
* when being serialized (and appropriately handled in reverse direction,
|
378
|
-
* i.e. expect unwrapped representation during deserialization)
|
379
|
-
*
|
380
|
-
* @since 1.9
|
381
|
-
*/
|
382
|
-
public Boolean shouldUnwrapProperty(AnnotatedMember member) {
|
383
|
-
return null;
|
384
|
-
}
|
385
|
-
|
386
|
-
/**
|
387
|
-
* Method called to check whether given property is marked to
|
388
|
-
* be ignored; but NOT to determine if it should necessarily
|
389
|
-
* be ignored, since that may depend on other factors.
|
390
|
-
*<p>
|
391
|
-
* Default implementation calls existing 'isIgnored' methods
|
392
|
-
* such as {@link #isIgnorableField(AnnotatedField)} and
|
393
|
-
* {@link #isIgnorableMethod(AnnotatedMethod)}.
|
394
|
-
*
|
395
|
-
* @since 1.9
|
396
|
-
*/
|
397
|
-
public boolean hasIgnoreMarker(AnnotatedMember m)
|
398
|
-
{
|
399
|
-
/* For maximum backwards compatibility, we better call
|
400
|
-
* existing methods.
|
401
|
-
*/
|
402
|
-
/* TODO: For 2.0, replace with simple 'return false;'
|
403
|
-
*/
|
404
|
-
if (m instanceof AnnotatedMethod) {
|
405
|
-
return isIgnorableMethod((AnnotatedMethod) m);
|
406
|
-
}
|
407
|
-
if (m instanceof AnnotatedField) {
|
408
|
-
return isIgnorableField((AnnotatedField) m);
|
409
|
-
}
|
410
|
-
if (m instanceof AnnotatedConstructor) {
|
411
|
-
return isIgnorableConstructor((AnnotatedConstructor) m);
|
412
|
-
}
|
413
|
-
return false;
|
414
|
-
}
|
415
|
-
|
416
|
-
/**
|
417
|
-
* Method called to find out whether given member expectes a value
|
418
|
-
* to be injected, and if so, what is the identifier of the value
|
419
|
-
* to use during injection.
|
420
|
-
* Type if identifier needs to be compatible with provider of
|
421
|
-
* values (of type {@link InjectableValues}); often a simple String
|
422
|
-
* id is used.
|
423
|
-
*
|
424
|
-
* @param m Member to check
|
425
|
-
*
|
426
|
-
* @return Identifier of value to inject, if any; null if no injection
|
427
|
-
* indicator is found
|
428
|
-
*/
|
429
|
-
public Object findInjectableValueId(AnnotatedMember m) {
|
430
|
-
return null;
|
431
|
-
}
|
432
|
-
|
433
|
-
/*
|
434
|
-
/**********************************************************
|
435
|
-
/* General method annotations
|
436
|
-
/**********************************************************
|
437
|
-
*/
|
438
|
-
|
439
|
-
/**
|
440
|
-
* Method for checking whether there is an annotation that
|
441
|
-
* indicates that given method should be ignored for all
|
442
|
-
* operations (serialization, deserialization).
|
443
|
-
*<p>
|
444
|
-
* Note that this method should <b>ONLY</b> return true for such
|
445
|
-
* explicit ignoral cases; and not if method just happens not to
|
446
|
-
* be visible for annotation processor.
|
447
|
-
*
|
448
|
-
* @return True, if an annotation is found to indicate that the
|
449
|
-
* method should be ignored; false if not.
|
450
|
-
*/
|
451
|
-
public abstract boolean isIgnorableMethod(AnnotatedMethod m);
|
452
|
-
|
453
|
-
/**
|
454
|
-
* @since 1.2
|
455
|
-
*/
|
456
|
-
public abstract boolean isIgnorableConstructor(AnnotatedConstructor c);
|
457
|
-
|
458
|
-
/*
|
459
|
-
/**********************************************************
|
460
|
-
/* General field annotations
|
461
|
-
/**********************************************************
|
462
|
-
*/
|
463
|
-
|
464
|
-
/**
|
465
|
-
* Method for checking whether there is an annotation that
|
466
|
-
* indicates that given field should be ignored for all
|
467
|
-
* operations (serialization, deserialization).
|
468
|
-
*
|
469
|
-
* @return True, if an annotation is found to indicate that the
|
470
|
-
* field should be ignored; false if not.
|
471
|
-
*/
|
472
|
-
public abstract boolean isIgnorableField(AnnotatedField f);
|
473
|
-
|
474
|
-
/*
|
475
|
-
/**********************************************************
|
476
|
-
/* Serialization: general annotations
|
477
|
-
/**********************************************************
|
478
|
-
*/
|
479
|
-
|
480
|
-
/**
|
481
|
-
* Method for getting a serializer definition on specified method
|
482
|
-
* or field. Type of definition is either instance (of type
|
483
|
-
* {@link JsonSerializer}) or Class (of type
|
484
|
-
* <code>Class<JsonSerializer></code>); if value of different
|
485
|
-
* type is returned, a runtime exception may be thrown by caller.
|
486
|
-
*<p>
|
487
|
-
* Note: this variant was briefly deprecated for 1.7; should not be
|
488
|
-
*/
|
489
|
-
public abstract Object findSerializer(Annotated am);
|
490
|
-
|
491
|
-
/**
|
492
|
-
* Method for getting a serializer definition for keys of associated <code>Map</code> property.
|
493
|
-
* Type of definition is either instance (of type
|
494
|
-
* {@link JsonSerializer}) or Class (of type
|
495
|
-
* <code>Class<JsonSerializer></code>); if value of different
|
496
|
-
* type is returned, a runtime exception may be thrown by caller.
|
497
|
-
*
|
498
|
-
* @since 1.8
|
499
|
-
*/
|
500
|
-
public Class<? extends JsonSerializer<?>> findKeySerializer(Annotated am) {
|
501
|
-
return null;
|
502
|
-
}
|
503
|
-
|
504
|
-
/**
|
505
|
-
* Method for getting a serializer definition for content (values) of
|
506
|
-
* associated <code>Collection</code>, <code>array</code> or <code>Map</code> property.
|
507
|
-
* Type of definition is either instance (of type
|
508
|
-
* {@link JsonSerializer}) or Class (of type
|
509
|
-
* <code>Class<JsonSerializer></code>); if value of different
|
510
|
-
* type is returned, a runtime exception may be thrown by caller.
|
511
|
-
*
|
512
|
-
* @since 1.8
|
513
|
-
*/
|
514
|
-
public Class<? extends JsonSerializer<?>> findContentSerializer(Annotated am) {
|
515
|
-
return null;
|
516
|
-
}
|
517
|
-
|
518
|
-
/**
|
519
|
-
* Method for checking whether given annotated entity (class, method,
|
520
|
-
* field) defines which Bean/Map properties are to be included in
|
521
|
-
* serialization.
|
522
|
-
* If no annotation is found, method should return given second
|
523
|
-
* argument; otherwise value indicated by the annotation
|
524
|
-
*
|
525
|
-
* @return Enumerated value indicating which properties to include
|
526
|
-
* in serialization
|
527
|
-
*/
|
528
|
-
public JsonSerialize.Inclusion findSerializationInclusion(Annotated a, JsonSerialize.Inclusion defValue) {
|
529
|
-
return defValue;
|
530
|
-
}
|
531
|
-
|
532
|
-
/**
|
533
|
-
* Method for accessing annotated type definition that a
|
534
|
-
* method/field can have, to be used as the type for serialization
|
535
|
-
* instead of the runtime type.
|
536
|
-
* Type returned (if any) needs to be widening conversion (super-type).
|
537
|
-
* Declared return type of the method is also considered acceptable.
|
538
|
-
*
|
539
|
-
* @return Class to use instead of runtime type
|
540
|
-
*/
|
541
|
-
public abstract Class<?> findSerializationType(Annotated a);
|
542
|
-
|
543
|
-
/**
|
544
|
-
* Method for finding possible widening type definition that a property
|
545
|
-
* value can have, to define less specific key type to use for serialization.
|
546
|
-
* It should be only be used with {@link java.util.Map} types.
|
547
|
-
*
|
548
|
-
* @return Class specifying more general type to use instead of
|
549
|
-
* declared type, if annotation found; null if not
|
550
|
-
*/
|
551
|
-
public Class<?> findSerializationKeyType(Annotated am, JavaType baseType) {
|
552
|
-
return null;
|
553
|
-
}
|
554
|
-
|
555
|
-
/**
|
556
|
-
* Method for finding possible widening type definition that a property
|
557
|
-
* value can have, to define less specific key type to use for serialization.
|
558
|
-
* It should be only used with structured types (arrays, collections, maps).
|
559
|
-
*
|
560
|
-
* @return Class specifying more general type to use instead of
|
561
|
-
* declared type, if annotation found; null if not
|
562
|
-
*/
|
563
|
-
public Class<?> findSerializationContentType(Annotated am, JavaType baseType) {
|
564
|
-
return null;
|
565
|
-
}
|
566
|
-
|
567
|
-
/**
|
568
|
-
* Method for accessing declared typing mode annotated (if any).
|
569
|
-
* This is used for type detection, unless more granular settings
|
570
|
-
* (such as actual exact type; or serializer to use which means
|
571
|
-
* no type information is needed) take precedence.
|
572
|
-
*
|
573
|
-
* @since 1.2
|
574
|
-
*
|
575
|
-
* @return Typing mode to use, if annotation is found; null otherwise
|
576
|
-
*/
|
577
|
-
public abstract JsonSerialize.Typing findSerializationTyping(Annotated a);
|
578
|
-
|
579
|
-
/**
|
580
|
-
* Method for checking if annotated serializable property (represented by
|
581
|
-
* field or getter method) has definitions for views it is to be included
|
582
|
-
* in. If null is returned, no view definitions exist and property is always
|
583
|
-
* included; otherwise it will only be included for views included in returned
|
584
|
-
* array. View matches are checked using class inheritance rules (sub-classes
|
585
|
-
* inherit inclusions of super-classes)
|
586
|
-
*
|
587
|
-
* @param a Annotated serializable property (field or getter method)
|
588
|
-
* @return Array of views (represented by classes) that the property is included in;
|
589
|
-
* if null, always included (same as returning array containing <code>Object.class</code>)
|
590
|
-
*/
|
591
|
-
public abstract Class<?>[] findSerializationViews(Annotated a);
|
592
|
-
|
593
|
-
/*
|
594
|
-
/**********************************************************
|
595
|
-
/* Serialization: class annotations
|
596
|
-
/**********************************************************
|
597
|
-
*/
|
598
|
-
|
599
|
-
/**
|
600
|
-
* Method for accessing defined property serialization order (which may be
|
601
|
-
* partial). May return null if no ordering is defined.
|
602
|
-
*
|
603
|
-
* @since 1.4
|
604
|
-
*/
|
605
|
-
public abstract String[] findSerializationPropertyOrder(AnnotatedClass ac);
|
606
|
-
|
607
|
-
/**
|
608
|
-
* Method for checking whether an annotation indicates that serialized properties
|
609
|
-
* for which no explicit is defined should be alphabetically (lexicograpically)
|
610
|
-
* ordered
|
611
|
-
*
|
612
|
-
* @since 1.4
|
613
|
-
*/
|
614
|
-
public abstract Boolean findSerializationSortAlphabetically(AnnotatedClass ac);
|
615
|
-
|
616
|
-
/*
|
617
|
-
/**********************************************************
|
618
|
-
/* Serialization: method annotations
|
619
|
-
/**********************************************************
|
620
|
-
*/
|
621
|
-
|
622
|
-
/**
|
623
|
-
* Method for checking whether given method has an annotation
|
624
|
-
* that suggests property name associated with method that
|
625
|
-
* may be a "getter". Should return null if no annotation
|
626
|
-
* is found; otherwise a non-null String.
|
627
|
-
* If non-null value is returned, it is used as the property
|
628
|
-
* name, except for empty String ("") which is taken to mean
|
629
|
-
* "use standard bean name detection if applicable;
|
630
|
-
* method name if not".
|
631
|
-
*/
|
632
|
-
public abstract String findGettablePropertyName(AnnotatedMethod am);
|
633
|
-
|
634
|
-
/**
|
635
|
-
* Method for checking whether given method has an annotation
|
636
|
-
* that suggests that the return value of annotated method
|
637
|
-
* should be used as "the value" of the object instance; usually
|
638
|
-
* serialized as a primitive value such as String or number.
|
639
|
-
*
|
640
|
-
* @return True if such annotation is found (and is not disabled);
|
641
|
-
* false if no enabled annotation is found
|
642
|
-
*/
|
643
|
-
public abstract boolean hasAsValueAnnotation(AnnotatedMethod am);
|
644
|
-
|
645
|
-
/**
|
646
|
-
* Method for determining the String value to use for serializing
|
647
|
-
* given enumeration entry; used when serializing enumerations
|
648
|
-
* as Strings (the standard method).
|
649
|
-
*
|
650
|
-
* @return Serialized enum value.
|
651
|
-
*/
|
652
|
-
public abstract String findEnumValue(Enum<?> value);
|
653
|
-
|
654
|
-
/*
|
655
|
-
/**********************************************************
|
656
|
-
/* Serialization: field annotations
|
657
|
-
/**********************************************************
|
658
|
-
*/
|
659
|
-
|
660
|
-
/**
|
661
|
-
* Method for checking whether given member field represent
|
662
|
-
* a serializable logical property; and if so, returns the
|
663
|
-
* name of that property.
|
664
|
-
* Should return null if no annotation is found (indicating it
|
665
|
-
* is not a serializable field); otherwise a non-null String.
|
666
|
-
* If non-null value is returned, it is used as the property
|
667
|
-
* name, except for empty String ("") which is taken to mean
|
668
|
-
* "use the field name as is".
|
669
|
-
*/
|
670
|
-
public abstract String findSerializablePropertyName(AnnotatedField af);
|
671
|
-
|
672
|
-
/*
|
673
|
-
/**********************************************************
|
674
|
-
/* Deserialization: general annotations
|
675
|
-
/**********************************************************
|
676
|
-
*/
|
677
|
-
|
678
|
-
/**
|
679
|
-
* Method for getting a deserializer definition on specified method
|
680
|
-
* or field.
|
681
|
-
* Type of definition is either instance (of type
|
682
|
-
* {@link JsonDeserializer}) or Class (of type
|
683
|
-
* <code>Class<JsonDeserializer></code>); if value of different
|
684
|
-
* type is returned, a runtime exception may be thrown by caller.
|
685
|
-
*<p>
|
686
|
-
* Note: this variant was briefly deprecated for 1.7; but it turns out
|
687
|
-
* we really should not try to push BeanProperty through at this point
|
688
|
-
*/
|
689
|
-
public abstract Object findDeserializer(Annotated am);
|
690
|
-
|
691
|
-
/**
|
692
|
-
* Method for getting a deserializer definition for keys of
|
693
|
-
* associated <code>Map</code> property.
|
694
|
-
* Type of definition is either instance (of type
|
695
|
-
* {@link JsonDeserializer}) or Class (of type
|
696
|
-
* <code>Class<JsonDeserializer></code>); if value of different
|
697
|
-
* type is returned, a runtime exception may be thrown by caller.
|
698
|
-
*
|
699
|
-
* @since 1.3
|
700
|
-
*/
|
701
|
-
public abstract Class<? extends KeyDeserializer> findKeyDeserializer(Annotated am);
|
702
|
-
|
703
|
-
/**
|
704
|
-
* Method for getting a deserializer definition for content (values) of
|
705
|
-
* associated <code>Collection</code>, <code>array</code> or
|
706
|
-
* <code>Map</code> property.
|
707
|
-
* Type of definition is either instance (of type
|
708
|
-
* {@link JsonDeserializer}) or Class (of type
|
709
|
-
* <code>Class<JsonDeserializer></code>); if value of different
|
710
|
-
* type is returned, a runtime exception may be thrown by caller.
|
711
|
-
*
|
712
|
-
* @since 1.3
|
713
|
-
*/
|
714
|
-
public abstract Class<? extends JsonDeserializer<?>> findContentDeserializer(Annotated am);
|
715
|
-
|
716
|
-
/**
|
717
|
-
* Method for accessing annotated type definition that a
|
718
|
-
* method can have, to be used as the type for serialization
|
719
|
-
* instead of the runtime type.
|
720
|
-
* Type must be a narrowing conversion
|
721
|
-
* (i.e.subtype of declared type).
|
722
|
-
* Declared return type of the method is also considered acceptable.
|
723
|
-
*
|
724
|
-
* @param baseType Assumed type before considering annotations
|
725
|
-
* @param propName Logical property name of the property that uses
|
726
|
-
* type, if known; null for types not associated with property
|
727
|
-
*
|
728
|
-
* @return Class to use for deserialization instead of declared type
|
729
|
-
*/
|
730
|
-
public abstract Class<?> findDeserializationType(Annotated am, JavaType baseType,
|
731
|
-
String propName);
|
732
|
-
|
733
|
-
/**
|
734
|
-
* Method for accessing additional narrowing type definition that a
|
735
|
-
* method can have, to define more specific key type to use.
|
736
|
-
* It should be only be used with {@link java.util.Map} types.
|
737
|
-
*
|
738
|
-
* @param baseKeyType Assumed key type before considering annotations
|
739
|
-
* @param propName Logical property name of the property that uses
|
740
|
-
* type, if known; null for types not associated with property
|
741
|
-
*
|
742
|
-
* @return Class specifying more specific type to use instead of
|
743
|
-
* declared type, if annotation found; null if not
|
744
|
-
*/
|
745
|
-
public abstract Class<?> findDeserializationKeyType(Annotated am, JavaType baseKeyType,
|
746
|
-
String propName);
|
747
|
-
|
748
|
-
/**
|
749
|
-
* Method for accessing additional narrowing type definition that a
|
750
|
-
* method can have, to define more specific content type to use;
|
751
|
-
* content refers to Map values and Collection/array elements.
|
752
|
-
* It should be only be used with Map, Collection and array types.
|
753
|
-
*
|
754
|
-
* @param baseContentType Assumed content (value) type before considering annotations
|
755
|
-
* @param propName Logical property name of the property that uses
|
756
|
-
* type, if known; null for types not associated with property
|
757
|
-
*
|
758
|
-
* @return Class specifying more specific type to use instead of
|
759
|
-
* declared type, if annotation found; null if not
|
760
|
-
*/
|
761
|
-
public abstract Class<?> findDeserializationContentType(Annotated am, JavaType baseContentType,
|
762
|
-
String propName);
|
763
|
-
|
764
|
-
/*
|
765
|
-
/**********************************************************
|
766
|
-
/* Deserialization: class annotations
|
767
|
-
/**********************************************************
|
768
|
-
*/
|
769
|
-
|
770
|
-
/**
|
771
|
-
* Method getting {@link ValueInstantiator} to use for given
|
772
|
-
* type (class): return value can either be an instance of
|
773
|
-
* instantiator, or class of instantiator to create.
|
774
|
-
*
|
775
|
-
* @since 1.9
|
776
|
-
*/
|
777
|
-
public Object findValueInstantiator(AnnotatedClass ac) {
|
778
|
-
return null;
|
779
|
-
}
|
780
|
-
|
781
|
-
/*
|
782
|
-
/**********************************************************
|
783
|
-
/* Deserialization: method annotations
|
784
|
-
/**********************************************************
|
785
|
-
*/
|
786
|
-
|
787
|
-
/**
|
788
|
-
* Method for checking whether given method has an annotation
|
789
|
-
* that suggests property name associated with method that
|
790
|
-
* may be a "setter". Should return null if no annotation
|
791
|
-
* is found; otherwise a non-null String.
|
792
|
-
* If non-null value is returned, it is used as the property
|
793
|
-
* name, except for empty String ("") which is taken to mean
|
794
|
-
* "use standard bean name detection if applicable;
|
795
|
-
* method name if not".
|
796
|
-
*/
|
797
|
-
public abstract String findSettablePropertyName(AnnotatedMethod am);
|
798
|
-
|
799
|
-
/**
|
800
|
-
* Method for checking whether given method has an annotation
|
801
|
-
* that suggests that the method is to serve as "any setter";
|
802
|
-
* method to be used for setting values of any properties for
|
803
|
-
* which no dedicated setter method is found.
|
804
|
-
*
|
805
|
-
* @return True if such annotation is found (and is not disabled),
|
806
|
-
* false otherwise
|
807
|
-
*/
|
808
|
-
public boolean hasAnySetterAnnotation(AnnotatedMethod am) {
|
809
|
-
return false;
|
810
|
-
}
|
811
|
-
|
812
|
-
/**
|
813
|
-
* Method for checking whether given method has an annotation
|
814
|
-
* that suggests that the method is to serve as "any setter";
|
815
|
-
* method to be used for accessing set of miscellaneous "extra"
|
816
|
-
* properties, often bound with matching "any setter" method.
|
817
|
-
*
|
818
|
-
* @return True if such annotation is found (and is not disabled),
|
819
|
-
* false otherwise
|
820
|
-
*
|
821
|
-
* @since 1.6
|
822
|
-
*/
|
823
|
-
public boolean hasAnyGetterAnnotation(AnnotatedMethod am) {
|
824
|
-
return false;
|
825
|
-
}
|
826
|
-
|
827
|
-
/**
|
828
|
-
* Method for checking whether given annotated item (method, constructor)
|
829
|
-
* has an annotation
|
830
|
-
* that suggests that the method is a "creator" (aka factory)
|
831
|
-
* method to be used for construct new instances of deserialized
|
832
|
-
* values.
|
833
|
-
*
|
834
|
-
* @return True if such annotation is found (and is not disabled),
|
835
|
-
* false otherwise
|
836
|
-
*/
|
837
|
-
public boolean hasCreatorAnnotation(Annotated a) {
|
838
|
-
return false;
|
839
|
-
}
|
840
|
-
|
841
|
-
/*
|
842
|
-
/**********************************************************
|
843
|
-
/* Deserialization: field annotations
|
844
|
-
/**********************************************************
|
845
|
-
*/
|
846
|
-
|
847
|
-
/**
|
848
|
-
* Method for checking whether given member field represent
|
849
|
-
* a deserializable logical property; and if so, returns the
|
850
|
-
* name of that property.
|
851
|
-
* Should return null if no annotation is found (indicating it
|
852
|
-
* is not a deserializable field); otherwise a non-null String.
|
853
|
-
* If non-null value is returned, it is used as the property
|
854
|
-
* name, except for empty String ("") which is taken to mean
|
855
|
-
* "use the field name as is".
|
856
|
-
*/
|
857
|
-
public abstract String findDeserializablePropertyName(AnnotatedField af);
|
858
|
-
|
859
|
-
/*
|
860
|
-
/**********************************************************
|
861
|
-
/* Deserialization: parameter annotations (for
|
862
|
-
/* creator method parameters)
|
863
|
-
/**********************************************************
|
864
|
-
*/
|
865
|
-
|
866
|
-
/**
|
867
|
-
* Method for checking whether given set of annotations indicates
|
868
|
-
* property name for associated parameter.
|
869
|
-
* No actual parameter object can be passed since JDK offers no
|
870
|
-
* representation; just annotations.
|
871
|
-
*/
|
872
|
-
public abstract String findPropertyNameForParam(AnnotatedParameter param);
|
873
|
-
|
874
|
-
/*
|
875
|
-
/**********************************************************
|
876
|
-
/* Helper classes
|
877
|
-
/**********************************************************
|
878
|
-
*/
|
879
|
-
|
880
|
-
/**
|
881
|
-
* Helper class that allows using 2 introspectors such that one
|
882
|
-
* introspector acts as the primary one to use; and second one
|
883
|
-
* as a fallback used if the primary does not provide conclusive
|
884
|
-
* or useful result for a method.
|
885
|
-
*<p>
|
886
|
-
* An obvious consequence of priority is that it is easy to construct
|
887
|
-
* longer chains of introspectors by linking multiple pairs.
|
888
|
-
* Currently most likely combination is that of using the default
|
889
|
-
* Jackson provider, along with JAXB annotation introspector (available
|
890
|
-
* since version 1.1).
|
891
|
-
*/
|
892
|
-
public static class Pair
|
893
|
-
extends AnnotationIntrospector
|
894
|
-
{
|
895
|
-
protected final AnnotationIntrospector _primary, _secondary;
|
896
|
-
|
897
|
-
public Pair(AnnotationIntrospector p,
|
898
|
-
AnnotationIntrospector s)
|
899
|
-
{
|
900
|
-
_primary = p;
|
901
|
-
_secondary = s;
|
902
|
-
}
|
903
|
-
|
904
|
-
/**
|
905
|
-
* Helper method for constructing a Pair from two given introspectors (if
|
906
|
-
* neither is null); or returning non-null introspector if one is null
|
907
|
-
* (and return just null if both are null)
|
908
|
-
*
|
909
|
-
* @since 1.7
|
910
|
-
*/
|
911
|
-
public static AnnotationIntrospector create(AnnotationIntrospector primary,
|
912
|
-
AnnotationIntrospector secondary)
|
913
|
-
{
|
914
|
-
if (primary == null) {
|
915
|
-
return secondary;
|
916
|
-
}
|
917
|
-
if (secondary == null) {
|
918
|
-
return primary;
|
919
|
-
}
|
920
|
-
return new Pair(primary, secondary);
|
921
|
-
}
|
922
|
-
|
923
|
-
@Override
|
924
|
-
public Collection<AnnotationIntrospector> allIntrospectors() {
|
925
|
-
return allIntrospectors(new ArrayList<AnnotationIntrospector>());
|
926
|
-
}
|
927
|
-
|
928
|
-
@Override
|
929
|
-
public Collection<AnnotationIntrospector> allIntrospectors(Collection<AnnotationIntrospector> result)
|
930
|
-
{
|
931
|
-
_primary.allIntrospectors(result);
|
932
|
-
_secondary.allIntrospectors(result);
|
933
|
-
return result;
|
934
|
-
}
|
935
|
-
|
936
|
-
// // // Generic annotation properties, lookup
|
937
|
-
|
938
|
-
@Override
|
939
|
-
public boolean isHandled(Annotation ann)
|
940
|
-
{
|
941
|
-
return _primary.isHandled(ann) || _secondary.isHandled(ann);
|
942
|
-
}
|
943
|
-
|
944
|
-
/*
|
945
|
-
/******************************************************
|
946
|
-
/* General class annotations
|
947
|
-
/******************************************************
|
948
|
-
*/
|
949
|
-
|
950
|
-
@Override
|
951
|
-
public Boolean findCachability(AnnotatedClass ac)
|
952
|
-
{
|
953
|
-
Boolean result = _primary.findCachability(ac);
|
954
|
-
if (result == null) {
|
955
|
-
result = _secondary.findCachability(ac);
|
956
|
-
}
|
957
|
-
return result;
|
958
|
-
}
|
959
|
-
|
960
|
-
@Override
|
961
|
-
public String findRootName(AnnotatedClass ac)
|
962
|
-
{
|
963
|
-
String name1 = _primary.findRootName(ac);
|
964
|
-
if (name1 == null) {
|
965
|
-
return _secondary.findRootName(ac);
|
966
|
-
} else if (name1.length() > 0) {
|
967
|
-
return name1;
|
968
|
-
}
|
969
|
-
// name1 is empty; how about secondary?
|
970
|
-
String name2 = _secondary.findRootName(ac);
|
971
|
-
return (name2 == null) ? name1 : name2;
|
972
|
-
}
|
973
|
-
|
974
|
-
@Override
|
975
|
-
public String[] findPropertiesToIgnore(AnnotatedClass ac)
|
976
|
-
{
|
977
|
-
String[] result = _primary.findPropertiesToIgnore(ac);
|
978
|
-
if (result == null) {
|
979
|
-
result = _secondary.findPropertiesToIgnore(ac);
|
980
|
-
}
|
981
|
-
return result;
|
982
|
-
}
|
983
|
-
|
984
|
-
@Override
|
985
|
-
public Boolean findIgnoreUnknownProperties(AnnotatedClass ac)
|
986
|
-
{
|
987
|
-
Boolean result = _primary.findIgnoreUnknownProperties(ac);
|
988
|
-
if (result == null) {
|
989
|
-
result = _secondary.findIgnoreUnknownProperties(ac);
|
990
|
-
}
|
991
|
-
return result;
|
992
|
-
}
|
993
|
-
|
994
|
-
@Override
|
995
|
-
public Boolean isIgnorableType(AnnotatedClass ac)
|
996
|
-
{
|
997
|
-
Boolean result = _primary.isIgnorableType(ac);
|
998
|
-
if (result == null) {
|
999
|
-
result = _secondary.isIgnorableType(ac);
|
1000
|
-
}
|
1001
|
-
return result;
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
@Override
|
1005
|
-
public Object findFilterId(AnnotatedClass ac)
|
1006
|
-
{
|
1007
|
-
Object id = _primary.findFilterId(ac);
|
1008
|
-
if (id == null) {
|
1009
|
-
id = _secondary.findFilterId(ac);
|
1010
|
-
}
|
1011
|
-
return id;
|
1012
|
-
}
|
1013
|
-
|
1014
|
-
/*
|
1015
|
-
/******************************************************
|
1016
|
-
/* Property auto-detection
|
1017
|
-
/******************************************************
|
1018
|
-
*/
|
1019
|
-
|
1020
|
-
@Override
|
1021
|
-
public VisibilityChecker<?> findAutoDetectVisibility(AnnotatedClass ac,
|
1022
|
-
VisibilityChecker<?> checker)
|
1023
|
-
{
|
1024
|
-
/* Note: to have proper priorities, we must actually call delegatees
|
1025
|
-
* in reverse order:
|
1026
|
-
*/
|
1027
|
-
checker = _secondary.findAutoDetectVisibility(ac, checker);
|
1028
|
-
return _primary.findAutoDetectVisibility(ac, checker);
|
1029
|
-
}
|
1030
|
-
|
1031
|
-
/*
|
1032
|
-
/******************************************************
|
1033
|
-
/* Type handling
|
1034
|
-
/******************************************************
|
1035
|
-
*/
|
1036
|
-
|
1037
|
-
@Override
|
1038
|
-
public TypeResolverBuilder<?> findTypeResolver(MapperConfig<?> config,
|
1039
|
-
AnnotatedClass ac, JavaType baseType)
|
1040
|
-
{
|
1041
|
-
TypeResolverBuilder<?> b = _primary.findTypeResolver(config, ac, baseType);
|
1042
|
-
if (b == null) {
|
1043
|
-
b = _secondary.findTypeResolver(config, ac, baseType);
|
1044
|
-
}
|
1045
|
-
return b;
|
1046
|
-
}
|
1047
|
-
|
1048
|
-
@Override
|
1049
|
-
public TypeResolverBuilder<?> findPropertyTypeResolver(MapperConfig<?> config,
|
1050
|
-
AnnotatedMember am, JavaType baseType)
|
1051
|
-
{
|
1052
|
-
TypeResolverBuilder<?> b = _primary.findPropertyTypeResolver(config, am, baseType);
|
1053
|
-
if (b == null) {
|
1054
|
-
b = _secondary.findPropertyTypeResolver(config, am, baseType);
|
1055
|
-
}
|
1056
|
-
return b;
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
@Override
|
1060
|
-
public TypeResolverBuilder<?> findPropertyContentTypeResolver(MapperConfig<?> config,
|
1061
|
-
AnnotatedMember am, JavaType baseType)
|
1062
|
-
{
|
1063
|
-
TypeResolverBuilder<?> b = _primary.findPropertyContentTypeResolver(config, am, baseType);
|
1064
|
-
if (b == null) {
|
1065
|
-
b = _secondary.findPropertyContentTypeResolver(config, am, baseType);
|
1066
|
-
}
|
1067
|
-
return b;
|
1068
|
-
}
|
1069
|
-
|
1070
|
-
@Override
|
1071
|
-
public List<NamedType> findSubtypes(Annotated a)
|
1072
|
-
{
|
1073
|
-
List<NamedType> types1 = _primary.findSubtypes(a);
|
1074
|
-
List<NamedType> types2 = _secondary.findSubtypes(a);
|
1075
|
-
if (types1 == null || types1.isEmpty()) return types2;
|
1076
|
-
if (types2 == null || types2.isEmpty()) return types1;
|
1077
|
-
ArrayList<NamedType> result = new ArrayList<NamedType>(types1.size() + types2.size());
|
1078
|
-
result.addAll(types1);
|
1079
|
-
result.addAll(types2);
|
1080
|
-
return result;
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
@Override
|
1084
|
-
public String findTypeName(AnnotatedClass ac)
|
1085
|
-
{
|
1086
|
-
String name = _primary.findTypeName(ac);
|
1087
|
-
if (name == null || name.length() == 0) {
|
1088
|
-
name = _secondary.findTypeName(ac);
|
1089
|
-
}
|
1090
|
-
return name;
|
1091
|
-
}
|
1092
|
-
|
1093
|
-
// // // General member (field, method/constructor) annotations
|
1094
|
-
|
1095
|
-
@Override
|
1096
|
-
public ReferenceProperty findReferenceType(AnnotatedMember member)
|
1097
|
-
{
|
1098
|
-
ReferenceProperty ref = _primary.findReferenceType(member);
|
1099
|
-
if (ref == null) {
|
1100
|
-
ref = _secondary.findReferenceType(member);
|
1101
|
-
}
|
1102
|
-
return ref;
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
@Override
|
1106
|
-
public Boolean shouldUnwrapProperty(AnnotatedMember member)
|
1107
|
-
{
|
1108
|
-
Boolean value = _primary.shouldUnwrapProperty(member);
|
1109
|
-
if (value == null) {
|
1110
|
-
value = _secondary.shouldUnwrapProperty(member);
|
1111
|
-
}
|
1112
|
-
return value;
|
1113
|
-
}
|
1114
|
-
|
1115
|
-
@Override
|
1116
|
-
public Object findInjectableValueId(AnnotatedMember m)
|
1117
|
-
{
|
1118
|
-
Object value = _primary.findInjectableValueId(m);
|
1119
|
-
if (value == null) {
|
1120
|
-
value = _secondary.findInjectableValueId(m);
|
1121
|
-
}
|
1122
|
-
return value;
|
1123
|
-
}
|
1124
|
-
|
1125
|
-
@Override
|
1126
|
-
public boolean hasIgnoreMarker(AnnotatedMember m) {
|
1127
|
-
return _primary.hasIgnoreMarker(m) || _secondary.hasIgnoreMarker(m);
|
1128
|
-
}
|
1129
|
-
|
1130
|
-
// // // General method annotations
|
1131
|
-
|
1132
|
-
@Override
|
1133
|
-
public boolean isIgnorableMethod(AnnotatedMethod m) {
|
1134
|
-
return _primary.isIgnorableMethod(m) || _secondary.isIgnorableMethod(m);
|
1135
|
-
}
|
1136
|
-
|
1137
|
-
@Override
|
1138
|
-
public boolean isIgnorableConstructor(AnnotatedConstructor c) {
|
1139
|
-
return _primary.isIgnorableConstructor(c) || _secondary.isIgnorableConstructor(c);
|
1140
|
-
}
|
1141
|
-
|
1142
|
-
// // // General field annotations
|
1143
|
-
|
1144
|
-
@Override
|
1145
|
-
public boolean isIgnorableField(AnnotatedField f)
|
1146
|
-
{
|
1147
|
-
return _primary.isIgnorableField(f) || _secondary.isIgnorableField(f);
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
// // // Serialization: general annotations
|
1151
|
-
|
1152
|
-
@Override
|
1153
|
-
public Object findSerializer(Annotated am)
|
1154
|
-
{
|
1155
|
-
Object result = _primary.findSerializer(am);
|
1156
|
-
if (result == null) {
|
1157
|
-
result = _secondary.findSerializer(am);
|
1158
|
-
}
|
1159
|
-
return result;
|
1160
|
-
}
|
1161
|
-
|
1162
|
-
@Override
|
1163
|
-
public Class<? extends JsonSerializer<?>> findKeySerializer(Annotated a)
|
1164
|
-
{
|
1165
|
-
Class<? extends JsonSerializer<?>> result = _primary.findKeySerializer(a);
|
1166
|
-
if (result == null || result == JsonSerializer.None.class) {
|
1167
|
-
result = _secondary.findKeySerializer(a);
|
1168
|
-
}
|
1169
|
-
return result;
|
1170
|
-
}
|
1171
|
-
|
1172
|
-
@Override
|
1173
|
-
public Class<? extends JsonSerializer<?>> findContentSerializer(Annotated a)
|
1174
|
-
{
|
1175
|
-
Class<? extends JsonSerializer<?>> result = _primary.findContentSerializer(a);
|
1176
|
-
if (result == null || result == JsonSerializer.None.class) {
|
1177
|
-
result = _secondary.findContentSerializer(a);
|
1178
|
-
}
|
1179
|
-
return result;
|
1180
|
-
}
|
1181
|
-
|
1182
|
-
@Override
|
1183
|
-
public JsonSerialize.Inclusion findSerializationInclusion(Annotated a,
|
1184
|
-
JsonSerialize.Inclusion defValue)
|
1185
|
-
{
|
1186
|
-
/* This is bit trickier: need to combine results in a meaningful
|
1187
|
-
* way. Seems like it should be a disjoint; that is, most
|
1188
|
-
* restrictive value should be returned.
|
1189
|
-
* For enumerations, comparison is done by indexes, which
|
1190
|
-
* works: largest value is the last one, which is the most
|
1191
|
-
* restrictive value as well.
|
1192
|
-
*/
|
1193
|
-
/* 09-Mar-2010, tatu: Actually, as per [JACKSON-256], it is probably better to just
|
1194
|
-
* use strict overriding. Simpler, easier to understand.
|
1195
|
-
*/
|
1196
|
-
// note: call secondary first, to give lower priority
|
1197
|
-
defValue = _secondary.findSerializationInclusion(a, defValue);
|
1198
|
-
defValue = _primary.findSerializationInclusion(a, defValue);
|
1199
|
-
return defValue;
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
@Override
|
1203
|
-
public Class<?> findSerializationType(Annotated a)
|
1204
|
-
{
|
1205
|
-
Class<?> result = _primary.findSerializationType(a);
|
1206
|
-
if (result == null) {
|
1207
|
-
result = _secondary.findSerializationType(a);
|
1208
|
-
}
|
1209
|
-
return result;
|
1210
|
-
}
|
1211
|
-
|
1212
|
-
@Override
|
1213
|
-
public Class<?> findSerializationKeyType(Annotated am, JavaType baseType)
|
1214
|
-
{
|
1215
|
-
Class<?> result = _primary.findSerializationKeyType(am, baseType);
|
1216
|
-
if (result == null) {
|
1217
|
-
result = _secondary.findSerializationKeyType(am, baseType);
|
1218
|
-
}
|
1219
|
-
return result;
|
1220
|
-
}
|
1221
|
-
|
1222
|
-
@Override
|
1223
|
-
public Class<?> findSerializationContentType(Annotated am, JavaType baseType)
|
1224
|
-
{
|
1225
|
-
Class<?> result = _primary.findSerializationContentType(am, baseType);
|
1226
|
-
if (result == null) {
|
1227
|
-
result = _secondary.findSerializationContentType(am, baseType);
|
1228
|
-
}
|
1229
|
-
return result;
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
@Override
|
1233
|
-
public JsonSerialize.Typing findSerializationTyping(Annotated a)
|
1234
|
-
{
|
1235
|
-
JsonSerialize.Typing result = _primary.findSerializationTyping(a);
|
1236
|
-
if (result == null) {
|
1237
|
-
result = _secondary.findSerializationTyping(a);
|
1238
|
-
}
|
1239
|
-
return result;
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
@Override
|
1243
|
-
public Class<?>[] findSerializationViews(Annotated a)
|
1244
|
-
{
|
1245
|
-
/* Theoretically this could be trickier, if multiple introspectors
|
1246
|
-
* return non-null entries. For now, though, we'll just consider
|
1247
|
-
* first one to return non-null to win.
|
1248
|
-
*/
|
1249
|
-
Class<?>[] result = _primary.findSerializationViews(a);
|
1250
|
-
if (result == null) {
|
1251
|
-
result = _secondary.findSerializationViews(a);
|
1252
|
-
}
|
1253
|
-
return result;
|
1254
|
-
}
|
1255
|
-
|
1256
|
-
// // // Serialization: class annotations
|
1257
|
-
|
1258
|
-
@Override
|
1259
|
-
public String[] findSerializationPropertyOrder(AnnotatedClass ac) {
|
1260
|
-
String[] result = _primary.findSerializationPropertyOrder(ac);
|
1261
|
-
if (result == null) {
|
1262
|
-
result = _secondary.findSerializationPropertyOrder(ac);
|
1263
|
-
}
|
1264
|
-
return result;
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
/**
|
1268
|
-
* Method for checking whether an annotation indicates that serialized properties
|
1269
|
-
* for which no explicit is defined should be alphabetically (lexicograpically)
|
1270
|
-
* ordered
|
1271
|
-
*/
|
1272
|
-
@Override
|
1273
|
-
public Boolean findSerializationSortAlphabetically(AnnotatedClass ac) {
|
1274
|
-
Boolean result = _primary.findSerializationSortAlphabetically(ac);
|
1275
|
-
if (result == null) {
|
1276
|
-
result = _secondary.findSerializationSortAlphabetically(ac);
|
1277
|
-
}
|
1278
|
-
return result;
|
1279
|
-
}
|
1280
|
-
|
1281
|
-
// // // Serialization: method annotations
|
1282
|
-
|
1283
|
-
@Override
|
1284
|
-
public String findGettablePropertyName(AnnotatedMethod am)
|
1285
|
-
{
|
1286
|
-
String result = _primary.findGettablePropertyName(am);
|
1287
|
-
if (result == null) {
|
1288
|
-
result = _secondary.findGettablePropertyName(am);
|
1289
|
-
} else if (result.length() == 0) {
|
1290
|
-
/* Empty String is a default; can be overridden by
|
1291
|
-
* more explicit answer from secondary entry
|
1292
|
-
*/
|
1293
|
-
String str2 = _secondary.findGettablePropertyName(am);
|
1294
|
-
if (str2 != null) {
|
1295
|
-
result = str2;
|
1296
|
-
}
|
1297
|
-
}
|
1298
|
-
return result;
|
1299
|
-
}
|
1300
|
-
|
1301
|
-
@Override
|
1302
|
-
public boolean hasAsValueAnnotation(AnnotatedMethod am)
|
1303
|
-
{
|
1304
|
-
return _primary.hasAsValueAnnotation(am) || _secondary.hasAsValueAnnotation(am);
|
1305
|
-
}
|
1306
|
-
|
1307
|
-
@Override
|
1308
|
-
public String findEnumValue(Enum<?> value)
|
1309
|
-
{
|
1310
|
-
String result = _primary.findEnumValue(value);
|
1311
|
-
if (result == null) {
|
1312
|
-
result = _secondary.findEnumValue(value);
|
1313
|
-
}
|
1314
|
-
return result;
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
// // // Serialization: field annotations
|
1318
|
-
|
1319
|
-
@Override
|
1320
|
-
public String findSerializablePropertyName(AnnotatedField af)
|
1321
|
-
{
|
1322
|
-
String result = _primary.findSerializablePropertyName(af);
|
1323
|
-
if (result == null) {
|
1324
|
-
result = _secondary.findSerializablePropertyName(af);
|
1325
|
-
} else if (result.length() == 0) {
|
1326
|
-
/* Empty String is a default; can be overridden by
|
1327
|
-
* more explicit answer from secondary entry
|
1328
|
-
*/
|
1329
|
-
String str2 = _secondary.findSerializablePropertyName(af);
|
1330
|
-
if (str2 != null) {
|
1331
|
-
result = str2;
|
1332
|
-
}
|
1333
|
-
}
|
1334
|
-
return result;
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
// // // Deserialization: general annotations
|
1338
|
-
|
1339
|
-
@Override
|
1340
|
-
public Object findDeserializer(Annotated am)
|
1341
|
-
{
|
1342
|
-
Object result = _primary.findDeserializer(am);
|
1343
|
-
if (result == null) {
|
1344
|
-
result = _secondary.findDeserializer(am);
|
1345
|
-
}
|
1346
|
-
return result;
|
1347
|
-
}
|
1348
|
-
|
1349
|
-
@Override
|
1350
|
-
public Class<? extends KeyDeserializer> findKeyDeserializer(Annotated am)
|
1351
|
-
{
|
1352
|
-
Class<? extends KeyDeserializer> result = _primary.findKeyDeserializer(am);
|
1353
|
-
if (result == null || result == KeyDeserializer.None.class) {
|
1354
|
-
result = _secondary.findKeyDeserializer(am);
|
1355
|
-
}
|
1356
|
-
return result;
|
1357
|
-
}
|
1358
|
-
|
1359
|
-
@Override
|
1360
|
-
public Class<? extends JsonDeserializer<?>> findContentDeserializer(Annotated am)
|
1361
|
-
{
|
1362
|
-
Class<? extends JsonDeserializer<?>> result = _primary.findContentDeserializer(am);
|
1363
|
-
if (result == null || result == JsonDeserializer.None.class) {
|
1364
|
-
result = _secondary.findContentDeserializer(am);
|
1365
|
-
}
|
1366
|
-
return result;
|
1367
|
-
}
|
1368
|
-
|
1369
|
-
@Override
|
1370
|
-
public Class<?> findDeserializationType(Annotated am, JavaType baseType,
|
1371
|
-
String propName)
|
1372
|
-
{
|
1373
|
-
Class<?> result = _primary.findDeserializationType(am, baseType, propName);
|
1374
|
-
if (result == null) {
|
1375
|
-
result = _secondary.findDeserializationType(am, baseType, propName);
|
1376
|
-
}
|
1377
|
-
return result;
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
@Override
|
1381
|
-
public Class<?> findDeserializationKeyType(Annotated am, JavaType baseKeyType,
|
1382
|
-
String propName)
|
1383
|
-
{
|
1384
|
-
Class<?> result = _primary.findDeserializationKeyType(am, baseKeyType, propName);
|
1385
|
-
if (result == null) {
|
1386
|
-
result = _secondary.findDeserializationKeyType(am, baseKeyType, propName);
|
1387
|
-
}
|
1388
|
-
return result;
|
1389
|
-
}
|
1390
|
-
|
1391
|
-
@Override
|
1392
|
-
public Class<?> findDeserializationContentType(Annotated am, JavaType baseContentType,
|
1393
|
-
String propName)
|
1394
|
-
{
|
1395
|
-
Class<?> result = _primary.findDeserializationContentType(am, baseContentType, propName);
|
1396
|
-
if (result == null) {
|
1397
|
-
result = _secondary.findDeserializationContentType(am, baseContentType, propName);
|
1398
|
-
}
|
1399
|
-
return result;
|
1400
|
-
}
|
1401
|
-
|
1402
|
-
// // // Deserialization: class annotations
|
1403
|
-
|
1404
|
-
@Override
|
1405
|
-
public Object findValueInstantiator(AnnotatedClass ac)
|
1406
|
-
{
|
1407
|
-
Object result = _primary.findValueInstantiator(ac);
|
1408
|
-
if (result == null) {
|
1409
|
-
result = _secondary.findValueInstantiator(ac);
|
1410
|
-
}
|
1411
|
-
return result;
|
1412
|
-
}
|
1413
|
-
|
1414
|
-
// // // Deserialization: method annotations
|
1415
|
-
|
1416
|
-
@Override
|
1417
|
-
public String findSettablePropertyName(AnnotatedMethod am)
|
1418
|
-
{
|
1419
|
-
String result = _primary.findSettablePropertyName(am);
|
1420
|
-
if (result == null) {
|
1421
|
-
result = _secondary.findSettablePropertyName(am);
|
1422
|
-
} else if (result.length() == 0) {
|
1423
|
-
/* Empty String is a default; can be overridden by
|
1424
|
-
* more explicit answer from secondary entry
|
1425
|
-
*/
|
1426
|
-
String str2 = _secondary.findSettablePropertyName(am);
|
1427
|
-
if (str2 != null) {
|
1428
|
-
result = str2;
|
1429
|
-
}
|
1430
|
-
}
|
1431
|
-
return result;
|
1432
|
-
}
|
1433
|
-
|
1434
|
-
@Override
|
1435
|
-
public boolean hasAnySetterAnnotation(AnnotatedMethod am)
|
1436
|
-
{
|
1437
|
-
return _primary.hasAnySetterAnnotation(am) || _secondary.hasAnySetterAnnotation(am);
|
1438
|
-
}
|
1439
|
-
|
1440
|
-
@Override
|
1441
|
-
public boolean hasAnyGetterAnnotation(AnnotatedMethod am)
|
1442
|
-
{
|
1443
|
-
return _primary.hasAnyGetterAnnotation(am) || _secondary.hasAnyGetterAnnotation(am);
|
1444
|
-
}
|
1445
|
-
|
1446
|
-
@Override
|
1447
|
-
public boolean hasCreatorAnnotation(Annotated a)
|
1448
|
-
{
|
1449
|
-
return _primary.hasCreatorAnnotation(a) || _secondary.hasCreatorAnnotation(a);
|
1450
|
-
}
|
1451
|
-
|
1452
|
-
// // // Deserialization: field annotations
|
1453
|
-
|
1454
|
-
@Override
|
1455
|
-
public String findDeserializablePropertyName(AnnotatedField af)
|
1456
|
-
{
|
1457
|
-
String result = _primary.findDeserializablePropertyName(af);
|
1458
|
-
if (result == null) {
|
1459
|
-
result = _secondary.findDeserializablePropertyName(af);
|
1460
|
-
} else if (result.length() == 0) {
|
1461
|
-
/* Empty String is a default; can be overridden by
|
1462
|
-
* more explicit answer from secondary entry
|
1463
|
-
*/
|
1464
|
-
String str2 = _secondary.findDeserializablePropertyName(af);
|
1465
|
-
if (str2 != null) {
|
1466
|
-
result = str2;
|
1467
|
-
}
|
1468
|
-
}
|
1469
|
-
return result;
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
// // // Deserialization: parameter annotations (for creators)
|
1473
|
-
|
1474
|
-
@Override
|
1475
|
-
public String findPropertyNameForParam(AnnotatedParameter param)
|
1476
|
-
{
|
1477
|
-
String result = _primary.findPropertyNameForParam(param);
|
1478
|
-
if (result == null) {
|
1479
|
-
result = _secondary.findPropertyNameForParam(param);
|
1480
|
-
}
|
1481
|
-
return result;
|
1482
|
-
}
|
1483
|
-
}
|
1484
|
-
|
1485
|
-
}
|