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,185 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.lang.reflect.ParameterizedType;
|
5
|
-
import java.lang.reflect.Type;
|
6
|
-
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
9
|
-
import sh.calaba.org.codehaus.jackson.JsonNode;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.*;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.ser.impl.PropertySerializerMap;
|
12
|
-
import sh.calaba.org.codehaus.jackson.node.ObjectNode;
|
13
|
-
import sh.calaba.org.codehaus.jackson.schema.JsonSchema;
|
14
|
-
import sh.calaba.org.codehaus.jackson.schema.SchemaAware;
|
15
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Base class for serializers that will output contents as JSON
|
19
|
-
* arrays; typically serializers used for {@link java.util.Collection}
|
20
|
-
* and array types.
|
21
|
-
*/
|
22
|
-
public abstract class AsArraySerializerBase<T>
|
23
|
-
extends ContainerSerializerBase<T>
|
24
|
-
implements ResolvableSerializer
|
25
|
-
{
|
26
|
-
protected final boolean _staticTyping;
|
27
|
-
|
28
|
-
protected final JavaType _elementType;
|
29
|
-
|
30
|
-
/**
|
31
|
-
* Type serializer used for values, if any.
|
32
|
-
*/
|
33
|
-
protected final TypeSerializer _valueTypeSerializer;
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Value serializer to use, if it can be statically determined
|
37
|
-
*
|
38
|
-
* @since 1.5
|
39
|
-
*/
|
40
|
-
protected JsonSerializer<Object> _elementSerializer;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Collection-valued property being serialized with this instance
|
44
|
-
*
|
45
|
-
* @since 1.7
|
46
|
-
*/
|
47
|
-
protected final BeanProperty _property;
|
48
|
-
|
49
|
-
/**
|
50
|
-
* If element type can not be statically determined, mapping from
|
51
|
-
* runtime type to serializer is handled using this object
|
52
|
-
*
|
53
|
-
* @since 1.7
|
54
|
-
*/
|
55
|
-
protected PropertySerializerMap _dynamicSerializers;
|
56
|
-
|
57
|
-
/**
|
58
|
-
* @deprecated since 1.8
|
59
|
-
*/
|
60
|
-
@Deprecated
|
61
|
-
protected AsArraySerializerBase(Class<?> cls, JavaType et, boolean staticTyping,
|
62
|
-
TypeSerializer vts, BeanProperty property)
|
63
|
-
{
|
64
|
-
this(cls, et, staticTyping, vts, property, null);
|
65
|
-
}
|
66
|
-
|
67
|
-
protected AsArraySerializerBase(Class<?> cls, JavaType et, boolean staticTyping,
|
68
|
-
TypeSerializer vts, BeanProperty property, JsonSerializer<Object> elementSerializer)
|
69
|
-
{
|
70
|
-
// typing with generics is messy... have to resort to this:
|
71
|
-
super(cls, false);
|
72
|
-
_elementType = et;
|
73
|
-
// static if explicitly requested, or if element type is final
|
74
|
-
_staticTyping = staticTyping || (et != null && et.isFinal());
|
75
|
-
_valueTypeSerializer = vts;
|
76
|
-
_property = property;
|
77
|
-
_elementSerializer = elementSerializer;
|
78
|
-
_dynamicSerializers = PropertySerializerMap.emptyMap();
|
79
|
-
}
|
80
|
-
|
81
|
-
@Override
|
82
|
-
public final void serialize(T value, JsonGenerator jgen, SerializerProvider provider)
|
83
|
-
throws IOException, JsonGenerationException
|
84
|
-
{
|
85
|
-
jgen.writeStartArray();
|
86
|
-
serializeContents(value, jgen, provider);
|
87
|
-
jgen.writeEndArray();
|
88
|
-
}
|
89
|
-
|
90
|
-
@Override
|
91
|
-
public final void serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider,
|
92
|
-
TypeSerializer typeSer)
|
93
|
-
throws IOException, JsonGenerationException
|
94
|
-
{
|
95
|
-
typeSer.writeTypePrefixForArray(value, jgen);
|
96
|
-
serializeContents(value, jgen, provider);
|
97
|
-
typeSer.writeTypeSuffixForArray(value, jgen);
|
98
|
-
}
|
99
|
-
|
100
|
-
protected abstract void serializeContents(T value, JsonGenerator jgen, SerializerProvider provider)
|
101
|
-
throws IOException, JsonGenerationException;
|
102
|
-
|
103
|
-
@Override
|
104
|
-
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
|
105
|
-
throws JsonMappingException
|
106
|
-
{
|
107
|
-
/* 15-Jan-2010, tatu: This should probably be rewritten, given that
|
108
|
-
* more information about content type is actually being explicitly
|
109
|
-
* passed. So there should be less need to try to re-process that
|
110
|
-
* information.
|
111
|
-
*/
|
112
|
-
ObjectNode o = createSchemaNode("array", true);
|
113
|
-
JavaType contentType = null;
|
114
|
-
if (typeHint != null) {
|
115
|
-
JavaType javaType = provider.constructType(typeHint);
|
116
|
-
contentType = javaType.getContentType();
|
117
|
-
if (contentType == null) { // could still be parametrized (Iterators)
|
118
|
-
if (typeHint instanceof ParameterizedType) {
|
119
|
-
Type[] typeArgs = ((ParameterizedType) typeHint).getActualTypeArguments();
|
120
|
-
if (typeArgs.length == 1) {
|
121
|
-
contentType = provider.constructType(typeArgs[0]);
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
}
|
126
|
-
if (contentType == null && _elementType != null) {
|
127
|
-
contentType = _elementType;
|
128
|
-
}
|
129
|
-
if (contentType != null) {
|
130
|
-
JsonNode schemaNode = null;
|
131
|
-
// 15-Oct-2010, tatu: We can't serialize plain Object.class; but what should it produce here? Untyped?
|
132
|
-
if (contentType.getRawClass() != Object.class) {
|
133
|
-
JsonSerializer<Object> ser = provider.findValueSerializer(contentType, _property);
|
134
|
-
if (ser instanceof SchemaAware) {
|
135
|
-
schemaNode = ((SchemaAware) ser).getSchema(provider, null);
|
136
|
-
}
|
137
|
-
}
|
138
|
-
if (schemaNode == null) {
|
139
|
-
schemaNode = JsonSchema.getDefaultSchemaNode();
|
140
|
-
}
|
141
|
-
o.put("items", schemaNode);
|
142
|
-
}
|
143
|
-
return o;
|
144
|
-
}
|
145
|
-
|
146
|
-
/**
|
147
|
-
* Need to get callback to resolve value serializer, if static typing
|
148
|
-
* is used (either being forced, or because value type is final)
|
149
|
-
*/
|
150
|
-
@Override
|
151
|
-
public void resolve(SerializerProvider provider)
|
152
|
-
throws JsonMappingException
|
153
|
-
{
|
154
|
-
if (_staticTyping && _elementType != null && _elementSerializer == null) {
|
155
|
-
_elementSerializer = provider.findValueSerializer(_elementType, _property);
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
|
-
/**
|
160
|
-
* @since 1.7
|
161
|
-
*/
|
162
|
-
protected final JsonSerializer<Object> _findAndAddDynamic(PropertySerializerMap map,
|
163
|
-
Class<?> type, SerializerProvider provider) throws JsonMappingException
|
164
|
-
{
|
165
|
-
PropertySerializerMap.SerializerAndMapResult result = map.findAndAddSerializer(type, provider, _property);
|
166
|
-
// did we get a new map of serializers? If so, start using it
|
167
|
-
if (map != result.map) {
|
168
|
-
_dynamicSerializers = result.map;
|
169
|
-
}
|
170
|
-
return result.serializer;
|
171
|
-
}
|
172
|
-
|
173
|
-
/**
|
174
|
-
* @since 1.8
|
175
|
-
*/
|
176
|
-
protected final JsonSerializer<Object> _findAndAddDynamic(PropertySerializerMap map,
|
177
|
-
JavaType type, SerializerProvider provider) throws JsonMappingException
|
178
|
-
{
|
179
|
-
PropertySerializerMap.SerializerAndMapResult result = map.findAndAddSerializer(type, provider, _property);
|
180
|
-
if (map != result.map) {
|
181
|
-
_dynamicSerializers = result.map;
|
182
|
-
}
|
183
|
-
return result.serializer;
|
184
|
-
}
|
185
|
-
}
|
@@ -1,340 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.lang.reflect.Type;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
8
|
-
import sh.calaba.org.codehaus.jackson.JsonNode;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.*;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.ser.*;
|
11
|
-
import sh.calaba.org.codehaus.jackson.node.ObjectNode;
|
12
|
-
import sh.calaba.org.codehaus.jackson.schema.JsonSchema;
|
13
|
-
import sh.calaba.org.codehaus.jackson.schema.SchemaAware;
|
14
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
15
|
-
|
16
|
-
/**
|
17
|
-
* Base class both for the standard bean serializer, and couple
|
18
|
-
* of variants that only differ in small details.
|
19
|
-
* Can be used for custom bean serializers as well, although that
|
20
|
-
* is not the primary design goal.
|
21
|
-
*
|
22
|
-
* @since 1.9
|
23
|
-
*/
|
24
|
-
public abstract class BeanSerializerBase
|
25
|
-
extends SerializerBase<Object>
|
26
|
-
implements ResolvableSerializer, SchemaAware
|
27
|
-
{
|
28
|
-
final protected static BeanPropertyWriter[] NO_PROPS = new BeanPropertyWriter[0];
|
29
|
-
|
30
|
-
/*
|
31
|
-
/**********************************************************
|
32
|
-
/* Configuration
|
33
|
-
/**********************************************************
|
34
|
-
*/
|
35
|
-
|
36
|
-
/**
|
37
|
-
* Writers used for outputting actual property values
|
38
|
-
*/
|
39
|
-
final protected BeanPropertyWriter[] _props;
|
40
|
-
|
41
|
-
/**
|
42
|
-
* Optional filters used to suppress output of properties that
|
43
|
-
* are only to be included in certain views
|
44
|
-
*/
|
45
|
-
final protected BeanPropertyWriter[] _filteredProps;
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Handler for {@link sh.calaba.org.codehaus.jackson.annotate.JsonAnyGetter}
|
49
|
-
* annotated properties
|
50
|
-
*
|
51
|
-
* @since 1.6
|
52
|
-
*/
|
53
|
-
final protected AnyGetterWriter _anyGetterWriter;
|
54
|
-
|
55
|
-
/**
|
56
|
-
* Id of the bean property filter to use, if any; null if none.
|
57
|
-
*/
|
58
|
-
final protected Object _propertyFilterId;
|
59
|
-
|
60
|
-
/*
|
61
|
-
/**********************************************************
|
62
|
-
/* Life-cycle: constructors
|
63
|
-
/**********************************************************
|
64
|
-
*/
|
65
|
-
|
66
|
-
/**
|
67
|
-
* @param type Nominal type of values handled by this serializer
|
68
|
-
* @param properties Property writers used for actual serialization
|
69
|
-
*/
|
70
|
-
protected BeanSerializerBase(JavaType type,
|
71
|
-
BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties,
|
72
|
-
AnyGetterWriter anyGetterWriter,
|
73
|
-
Object filterId)
|
74
|
-
{
|
75
|
-
super(type);
|
76
|
-
_props = properties;
|
77
|
-
_filteredProps = filteredProperties;
|
78
|
-
_anyGetterWriter = anyGetterWriter;
|
79
|
-
_propertyFilterId = filterId;
|
80
|
-
}
|
81
|
-
|
82
|
-
@SuppressWarnings("unchecked")
|
83
|
-
public BeanSerializerBase(Class<?> rawType,
|
84
|
-
BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties,
|
85
|
-
AnyGetterWriter anyGetterWriter,
|
86
|
-
Object filterId)
|
87
|
-
{
|
88
|
-
super((Class<Object>) rawType);
|
89
|
-
_props = properties;
|
90
|
-
_filteredProps = filteredProperties;
|
91
|
-
_anyGetterWriter = anyGetterWriter;
|
92
|
-
_propertyFilterId = filterId;
|
93
|
-
}
|
94
|
-
|
95
|
-
/**
|
96
|
-
* Copy-constructor that is useful for sub-classes that just want to
|
97
|
-
* copy all super-class properties without modifications.
|
98
|
-
*/
|
99
|
-
protected BeanSerializerBase(BeanSerializerBase src) {
|
100
|
-
this(src._handledType,
|
101
|
-
src._props, src._filteredProps, src._anyGetterWriter, src._propertyFilterId);
|
102
|
-
}
|
103
|
-
|
104
|
-
/*
|
105
|
-
/**********************************************************
|
106
|
-
/* Partial JsonSerializer implementation
|
107
|
-
/**********************************************************
|
108
|
-
*/
|
109
|
-
|
110
|
-
// Main serialization method left unimplemented
|
111
|
-
@Override
|
112
|
-
public abstract void serialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
|
113
|
-
throws IOException, JsonGenerationException;
|
114
|
-
|
115
|
-
// Type-info-augmented case implemented as it does not usually differ between impls
|
116
|
-
@Override
|
117
|
-
public void serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider,
|
118
|
-
TypeSerializer typeSer)
|
119
|
-
throws IOException, JsonGenerationException
|
120
|
-
{
|
121
|
-
typeSer.writeTypePrefixForObject(bean, jgen);
|
122
|
-
if (_propertyFilterId != null) {
|
123
|
-
serializeFieldsFiltered(bean, jgen, provider);
|
124
|
-
} else {
|
125
|
-
serializeFields(bean, jgen, provider);
|
126
|
-
}
|
127
|
-
typeSer.writeTypeSuffixForObject(bean, jgen);
|
128
|
-
}
|
129
|
-
|
130
|
-
/*
|
131
|
-
/**********************************************************
|
132
|
-
/* Field serialization methods
|
133
|
-
/**********************************************************
|
134
|
-
*/
|
135
|
-
|
136
|
-
protected void serializeFields(Object bean, JsonGenerator jgen, SerializerProvider provider)
|
137
|
-
throws IOException, JsonGenerationException
|
138
|
-
{
|
139
|
-
final BeanPropertyWriter[] props;
|
140
|
-
if (_filteredProps != null && provider.getSerializationView() != null) {
|
141
|
-
props = _filteredProps;
|
142
|
-
} else {
|
143
|
-
props = _props;
|
144
|
-
}
|
145
|
-
int i = 0;
|
146
|
-
try {
|
147
|
-
for (final int len = props.length; i < len; ++i) {
|
148
|
-
BeanPropertyWriter prop = props[i];
|
149
|
-
if (prop != null) { // can have nulls in filtered list
|
150
|
-
prop.serializeAsField(bean, jgen, provider);
|
151
|
-
}
|
152
|
-
}
|
153
|
-
if (_anyGetterWriter != null) {
|
154
|
-
_anyGetterWriter.getAndSerialize(bean, jgen, provider);
|
155
|
-
}
|
156
|
-
} catch (Exception e) {
|
157
|
-
String name = (i == props.length) ? "[anySetter]" : props[i].getName();
|
158
|
-
wrapAndThrow(provider, e, bean, name);
|
159
|
-
} catch (StackOverflowError e) {
|
160
|
-
/* 04-Sep-2009, tatu: Dealing with this is tricky, since we do not
|
161
|
-
* have many stack frames to spare... just one or two; can't
|
162
|
-
* make many calls.
|
163
|
-
*/
|
164
|
-
JsonMappingException mapE = new JsonMappingException("Infinite recursion (StackOverflowError)");
|
165
|
-
String name = (i == props.length) ? "[anySetter]" : props[i].getName();
|
166
|
-
mapE.prependPath(new JsonMappingException.Reference(bean, name));
|
167
|
-
throw mapE;
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
/**
|
172
|
-
* Alternative serialization method that gets called when there is a
|
173
|
-
* {@link BeanPropertyFilter} that needs to be called to determine
|
174
|
-
* which properties are to be serialized (and possibly how)
|
175
|
-
*
|
176
|
-
* @since 1.7
|
177
|
-
*/
|
178
|
-
protected void serializeFieldsFiltered(Object bean, JsonGenerator jgen, SerializerProvider provider)
|
179
|
-
throws IOException, JsonGenerationException
|
180
|
-
{
|
181
|
-
/* note: almost verbatim copy of "serializeFields"; copied (instead of merged)
|
182
|
-
* so that old method need not add check for existence of filter.
|
183
|
-
*/
|
184
|
-
|
185
|
-
final BeanPropertyWriter[] props;
|
186
|
-
if (_filteredProps != null && provider.getSerializationView() != null) {
|
187
|
-
props = _filteredProps;
|
188
|
-
} else {
|
189
|
-
props = _props;
|
190
|
-
}
|
191
|
-
final BeanPropertyFilter filter = findFilter(provider);
|
192
|
-
// better also allow missing filter actually..
|
193
|
-
if (filter == null) {
|
194
|
-
serializeFields(bean, jgen, provider);
|
195
|
-
return;
|
196
|
-
}
|
197
|
-
|
198
|
-
int i = 0;
|
199
|
-
try {
|
200
|
-
for (final int len = props.length; i < len; ++i) {
|
201
|
-
BeanPropertyWriter prop = props[i];
|
202
|
-
if (prop != null) { // can have nulls in filtered list
|
203
|
-
filter.serializeAsField(bean, jgen, provider, prop);
|
204
|
-
}
|
205
|
-
}
|
206
|
-
if (_anyGetterWriter != null) {
|
207
|
-
_anyGetterWriter.getAndSerialize(bean, jgen, provider);
|
208
|
-
}
|
209
|
-
} catch (Exception e) {
|
210
|
-
String name = (i == props.length) ? "[anySetter]" : props[i].getName();
|
211
|
-
wrapAndThrow(provider, e, bean, name);
|
212
|
-
} catch (StackOverflowError e) {
|
213
|
-
JsonMappingException mapE = new JsonMappingException("Infinite recursion (StackOverflowError)");
|
214
|
-
String name = (i == props.length) ? "[anySetter]" : props[i].getName();
|
215
|
-
mapE.prependPath(new JsonMappingException.Reference(bean, name));
|
216
|
-
throw mapE;
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
/**
|
221
|
-
* Helper method used to locate filter that is needed, based on filter id
|
222
|
-
* this serializer was constructed with.
|
223
|
-
*
|
224
|
-
* @since 1.7
|
225
|
-
*/
|
226
|
-
protected BeanPropertyFilter findFilter(SerializerProvider provider)
|
227
|
-
throws JsonMappingException
|
228
|
-
{
|
229
|
-
final Object filterId = _propertyFilterId;
|
230
|
-
FilterProvider filters = provider.getFilterProvider();
|
231
|
-
// Not ok to miss the provider, if a filter is declared to be needed.
|
232
|
-
if (filters == null) {
|
233
|
-
throw new JsonMappingException("Can not resolve BeanPropertyFilter with id '"+filterId+"'; no FilterProvider configured");
|
234
|
-
}
|
235
|
-
BeanPropertyFilter filter = filters.findFilter(filterId);
|
236
|
-
// But whether unknown ids are ok just depends on filter provider; if we get null that's fine
|
237
|
-
return filter;
|
238
|
-
}
|
239
|
-
|
240
|
-
@Override
|
241
|
-
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
|
242
|
-
throws JsonMappingException
|
243
|
-
{
|
244
|
-
ObjectNode o = createSchemaNode("object", true);
|
245
|
-
//todo: should the classname go in the title?
|
246
|
-
//o.put("title", _className);
|
247
|
-
ObjectNode propertiesNode = o.objectNode();
|
248
|
-
for (int i = 0; i < _props.length; i++) {
|
249
|
-
BeanPropertyWriter prop = _props[i];
|
250
|
-
JavaType propType = prop.getSerializationType();
|
251
|
-
// 03-Dec-2010, tatu: SchemaAware REALLY should use JavaType, but alas it doesn't...
|
252
|
-
Type hint = (propType == null) ? prop.getGenericPropertyType() : propType.getRawClass();
|
253
|
-
// Maybe it already has annotated/statically configured serializer?
|
254
|
-
JsonSerializer<Object> ser = prop.getSerializer();
|
255
|
-
if (ser == null) { // nope
|
256
|
-
Class<?> serType = prop.getRawSerializationType();
|
257
|
-
if (serType == null) {
|
258
|
-
serType = prop.getPropertyType();
|
259
|
-
}
|
260
|
-
ser = provider.findValueSerializer(serType, prop);
|
261
|
-
}
|
262
|
-
JsonNode schemaNode = (ser instanceof SchemaAware) ?
|
263
|
-
((SchemaAware) ser).getSchema(provider, hint) :
|
264
|
-
JsonSchema.getDefaultSchemaNode();
|
265
|
-
propertiesNode.put(prop.getName(), schemaNode);
|
266
|
-
}
|
267
|
-
o.put("properties", propertiesNode);
|
268
|
-
return o;
|
269
|
-
}
|
270
|
-
|
271
|
-
/*
|
272
|
-
/**********************************************************
|
273
|
-
/* ResolvableSerializer impl
|
274
|
-
/**********************************************************
|
275
|
-
*/
|
276
|
-
|
277
|
-
@Override
|
278
|
-
public void resolve(SerializerProvider provider)
|
279
|
-
throws JsonMappingException
|
280
|
-
{
|
281
|
-
int filteredCount = (_filteredProps == null) ? 0 : _filteredProps.length;
|
282
|
-
for (int i = 0, len = _props.length; i < len; ++i) {
|
283
|
-
BeanPropertyWriter prop = _props[i];
|
284
|
-
if (prop.hasSerializer()) {
|
285
|
-
continue;
|
286
|
-
}
|
287
|
-
// Was the serialization type hard-coded? If so, use it
|
288
|
-
JavaType type = prop.getSerializationType();
|
289
|
-
|
290
|
-
/* It not, we can use declared return type if and only if
|
291
|
-
* declared type is final -- if not, we don't really know
|
292
|
-
* the actual type until we get the instance.
|
293
|
-
*/
|
294
|
-
if (type == null) {
|
295
|
-
type = provider.constructType(prop.getGenericPropertyType());
|
296
|
-
if (!type.isFinal()) {
|
297
|
-
/* 18-Feb-2010, tatus: But even if it is non-final, we may
|
298
|
-
* need to retain some of type information so that we can
|
299
|
-
* accurately handle contained types
|
300
|
-
*/
|
301
|
-
if (type.isContainerType() || type.containedTypeCount() > 0) {
|
302
|
-
prop.setNonTrivialBaseType(type);
|
303
|
-
}
|
304
|
-
continue;
|
305
|
-
}
|
306
|
-
}
|
307
|
-
JsonSerializer<Object> ser = provider.findValueSerializer(type, prop);
|
308
|
-
/* 04-Feb-2010, tatu: We may have stashed type serializer for content types
|
309
|
-
* too, earlier; if so, it's time to connect the dots here:
|
310
|
-
*/
|
311
|
-
if (type.isContainerType()) {
|
312
|
-
TypeSerializer typeSer = type.getContentType().getTypeHandler();
|
313
|
-
if (typeSer != null) {
|
314
|
-
// for now, can do this only for standard containers...
|
315
|
-
if (ser instanceof ContainerSerializerBase<?>) {
|
316
|
-
// ugly casts... but necessary
|
317
|
-
@SuppressWarnings("unchecked")
|
318
|
-
JsonSerializer<Object> ser2 = (JsonSerializer<Object>)((ContainerSerializerBase<?>) ser).withValueTypeSerializer(typeSer);
|
319
|
-
ser = ser2;
|
320
|
-
}
|
321
|
-
}
|
322
|
-
}
|
323
|
-
prop = prop.withSerializer(ser);
|
324
|
-
_props[i] = prop;
|
325
|
-
// and maybe replace filtered property too? (see [JACKSON-364])
|
326
|
-
if (i < filteredCount) {
|
327
|
-
BeanPropertyWriter w2 = _filteredProps[i];
|
328
|
-
if (w2 != null) {
|
329
|
-
_filteredProps[i] = w2.withSerializer(ser);
|
330
|
-
}
|
331
|
-
}
|
332
|
-
}
|
333
|
-
|
334
|
-
// also, any-getter may need to be resolved
|
335
|
-
if (_anyGetterWriter != null) {
|
336
|
-
_anyGetterWriter.resolve(provider);
|
337
|
-
}
|
338
|
-
}
|
339
|
-
|
340
|
-
}
|