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,84 +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.*;
|
7
|
-
import sh.calaba.org.codehaus.jackson.io.SerializedString;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.*;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.BasicBeanDescription;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.util.EnumValues;
|
12
|
-
import sh.calaba.org.codehaus.jackson.node.ArrayNode;
|
13
|
-
import sh.calaba.org.codehaus.jackson.node.ObjectNode;
|
14
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
15
|
-
|
16
|
-
/**
|
17
|
-
* Standard serializer used for {@link java.lang.Enum} types.
|
18
|
-
*<p>
|
19
|
-
* Based on {@link ScalarSerializerBase} since the JSON value is
|
20
|
-
* scalar (String).
|
21
|
-
*
|
22
|
-
* @author tatu
|
23
|
-
*/
|
24
|
-
@JacksonStdImpl
|
25
|
-
public class EnumSerializer
|
26
|
-
extends ScalarSerializerBase<Enum<?>>
|
27
|
-
{
|
28
|
-
/**
|
29
|
-
* This map contains pre-resolved values (since there are ways
|
30
|
-
* to customize actual String constants to use) to use as
|
31
|
-
* serializations.
|
32
|
-
*/
|
33
|
-
protected final EnumValues _values;
|
34
|
-
|
35
|
-
public EnumSerializer(EnumValues v) {
|
36
|
-
super(Enum.class, false);
|
37
|
-
_values = v;
|
38
|
-
}
|
39
|
-
|
40
|
-
public static EnumSerializer construct(Class<Enum<?>> enumClass, SerializationConfig config,
|
41
|
-
BasicBeanDescription beanDesc)
|
42
|
-
{
|
43
|
-
// [JACKSON-212]: If toString() is to be used instead, leave EnumValues null
|
44
|
-
AnnotationIntrospector intr = config.getAnnotationIntrospector();
|
45
|
-
EnumValues v = config.isEnabled(SerializationConfig.Feature.WRITE_ENUMS_USING_TO_STRING)
|
46
|
-
? EnumValues.constructFromToString(enumClass, intr) : EnumValues.constructFromName(enumClass, intr);
|
47
|
-
return new EnumSerializer(v);
|
48
|
-
}
|
49
|
-
|
50
|
-
@Override
|
51
|
-
public final void serialize(Enum<?> en, JsonGenerator jgen, SerializerProvider provider)
|
52
|
-
throws IOException, JsonGenerationException
|
53
|
-
{
|
54
|
-
// [JACKSON-684]: serialize as index?
|
55
|
-
if (provider.isEnabled(SerializationConfig.Feature.WRITE_ENUMS_USING_INDEX)) {
|
56
|
-
jgen.writeNumber(en.ordinal());
|
57
|
-
return;
|
58
|
-
}
|
59
|
-
jgen.writeString(_values.serializedValueFor(en));
|
60
|
-
}
|
61
|
-
|
62
|
-
@Override
|
63
|
-
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
|
64
|
-
{
|
65
|
-
// [JACKSON-684]: serialize as index?
|
66
|
-
if (provider.isEnabled(SerializationConfig.Feature.WRITE_ENUMS_USING_INDEX)) {
|
67
|
-
return createSchemaNode("integer", true);
|
68
|
-
}
|
69
|
-
ObjectNode objectNode = createSchemaNode("string", true);
|
70
|
-
if (typeHint != null) {
|
71
|
-
JavaType type = provider.constructType(typeHint);
|
72
|
-
if (type.isEnumType()) {
|
73
|
-
ArrayNode enumNode = objectNode.putArray("enum");
|
74
|
-
for (SerializedString value : _values.values()) {
|
75
|
-
enumNode.add(value.getValue());
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
return objectNode;
|
80
|
-
}
|
81
|
-
|
82
|
-
public EnumValues getEnumValues() { return _values; }
|
83
|
-
}
|
84
|
-
|
@@ -1,47 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.EnumSet;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.BeanProperty;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.JsonSerializer;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.TypeSerializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
13
|
-
|
14
|
-
public class EnumSetSerializer
|
15
|
-
extends AsArraySerializerBase<EnumSet<? extends Enum<?>>>
|
16
|
-
{
|
17
|
-
public EnumSetSerializer(JavaType elemType, BeanProperty property)
|
18
|
-
{
|
19
|
-
super(EnumSet.class, elemType, true, null, property, null);
|
20
|
-
}
|
21
|
-
|
22
|
-
@Override
|
23
|
-
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts) {
|
24
|
-
// no typing for enums (always "hard" type)
|
25
|
-
return this;
|
26
|
-
}
|
27
|
-
|
28
|
-
@Override
|
29
|
-
public void serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider)
|
30
|
-
throws IOException, JsonGenerationException
|
31
|
-
{
|
32
|
-
JsonSerializer<Object> enumSer = _elementSerializer;
|
33
|
-
/* Need to dynamically find instance serializer; unfortunately
|
34
|
-
* that seems to be the only way to figure out type (no accessors
|
35
|
-
* to the enum class that set knows)
|
36
|
-
*/
|
37
|
-
for (Enum<?> en : value) {
|
38
|
-
if (enumSer == null) {
|
39
|
-
/* 12-Jan-2010, tatu: Since enums can not be polymorphic, let's
|
40
|
-
* not bother with typed serializer variant here
|
41
|
-
*/
|
42
|
-
enumSer = provider.findValueSerializer(en.getDeclaringClass(), _property);
|
43
|
-
}
|
44
|
-
enumSer.serialize(en, jgen, provider);
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.*;
|
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.BeanProperty;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.JsonMappingException;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.JsonSerializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.ResolvableSerializer;
|
13
|
-
import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
|
14
|
-
import sh.calaba.org.codehaus.jackson.map.TypeSerializer;
|
15
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Efficient implement for serializing {@link List}s that contains Strings and are random-accessible.
|
19
|
-
* The only complexity is due to possibility that serializer for {@link String}
|
20
|
-
* may be overridde; because of this, logic is needed to ensure that the default
|
21
|
-
* serializer is in use to use fastest mode, or if not, to defer to custom
|
22
|
-
* String serializer.
|
23
|
-
*
|
24
|
-
* @since 1.7
|
25
|
-
*/
|
26
|
-
@JacksonStdImpl
|
27
|
-
public final class IndexedStringListSerializer
|
28
|
-
extends StaticListSerializerBase<List<String>>
|
29
|
-
implements ResolvableSerializer
|
30
|
-
{
|
31
|
-
protected JsonSerializer<String> _serializer;
|
32
|
-
|
33
|
-
public IndexedStringListSerializer(BeanProperty property) {
|
34
|
-
super(List.class, property);
|
35
|
-
}
|
36
|
-
|
37
|
-
@Override protected JsonNode contentSchema() {
|
38
|
-
return createSchemaNode("string", true);
|
39
|
-
}
|
40
|
-
|
41
|
-
@SuppressWarnings("unchecked")
|
42
|
-
@Override
|
43
|
-
public void resolve(SerializerProvider provider) throws JsonMappingException
|
44
|
-
{
|
45
|
-
JsonSerializer<?> ser = provider.findValueSerializer(String.class, _property);
|
46
|
-
if (!isDefaultSerializer(ser)) {
|
47
|
-
_serializer = (JsonSerializer<String>) ser;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
@Override
|
52
|
-
public void serialize(List<String> value, JsonGenerator jgen, SerializerProvider provider)
|
53
|
-
throws IOException, JsonGenerationException
|
54
|
-
{
|
55
|
-
jgen.writeStartArray();
|
56
|
-
if (_serializer == null) {
|
57
|
-
serializeContents(value, jgen, provider);
|
58
|
-
} else {
|
59
|
-
serializeUsingCustom(value, jgen, provider);
|
60
|
-
}
|
61
|
-
jgen.writeEndArray();
|
62
|
-
}
|
63
|
-
|
64
|
-
@Override
|
65
|
-
public void serializeWithType(List<String> value, JsonGenerator jgen, SerializerProvider provider,
|
66
|
-
TypeSerializer typeSer)
|
67
|
-
throws IOException, JsonGenerationException
|
68
|
-
{
|
69
|
-
typeSer.writeTypePrefixForArray(value, jgen);
|
70
|
-
if (_serializer == null) {
|
71
|
-
serializeContents(value, jgen, provider);
|
72
|
-
} else {
|
73
|
-
serializeUsingCustom(value, jgen, provider);
|
74
|
-
}
|
75
|
-
typeSer.writeTypeSuffixForArray(value, jgen);
|
76
|
-
}
|
77
|
-
|
78
|
-
private final void serializeContents(List<String> value, JsonGenerator jgen, SerializerProvider provider)
|
79
|
-
throws IOException, JsonGenerationException
|
80
|
-
{
|
81
|
-
int i = 0;
|
82
|
-
try {
|
83
|
-
final int len = value.size();
|
84
|
-
for (; i < len; ++i) {
|
85
|
-
String str = value.get(i);
|
86
|
-
if (str == null) {
|
87
|
-
provider.defaultSerializeNull(jgen);
|
88
|
-
} else {
|
89
|
-
jgen.writeString(str);
|
90
|
-
}
|
91
|
-
}
|
92
|
-
} catch (Exception e) {
|
93
|
-
wrapAndThrow(provider, e, value, i);
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
private final void serializeUsingCustom(List<String> value, JsonGenerator jgen, SerializerProvider provider)
|
98
|
-
throws IOException, JsonGenerationException
|
99
|
-
{
|
100
|
-
int i = 0;
|
101
|
-
try {
|
102
|
-
final int len = value.size();
|
103
|
-
final JsonSerializer<String> ser = _serializer;
|
104
|
-
for (i = 0; i < len; ++i) {
|
105
|
-
String str = value.get(i);
|
106
|
-
if (str == null) {
|
107
|
-
provider.defaultSerializeNull(jgen);
|
108
|
-
} else {
|
109
|
-
ser.serialize(str, jgen, provider);
|
110
|
-
}
|
111
|
-
}
|
112
|
-
} catch (Exception e) {
|
113
|
-
wrapAndThrow(provider, e, value, i);
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.net.InetAddress;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.TypeSerializer;
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Simple serializer for {@link java.net.InetAddress}. Main complexity is
|
13
|
-
* with registration, since same serializer is to be used for sub-classes.
|
14
|
-
*
|
15
|
-
* @since 1.8
|
16
|
-
*/
|
17
|
-
public class InetAddressSerializer
|
18
|
-
extends ScalarSerializerBase<InetAddress>
|
19
|
-
{
|
20
|
-
public final static InetAddressSerializer instance = new InetAddressSerializer();
|
21
|
-
|
22
|
-
public InetAddressSerializer() { super(InetAddress.class); }
|
23
|
-
|
24
|
-
@Override
|
25
|
-
public void serialize(InetAddress value, JsonGenerator jgen, SerializerProvider provider)
|
26
|
-
throws IOException, JsonGenerationException
|
27
|
-
{
|
28
|
-
// Ok: get textual description; choose "more specific" part
|
29
|
-
String str = value.toString().trim();
|
30
|
-
int ix = str.indexOf('/');
|
31
|
-
if (ix >= 0) {
|
32
|
-
if (ix == 0) { // missing host name; use address
|
33
|
-
str = str.substring(1);
|
34
|
-
} else { // otherwise use name
|
35
|
-
str = str.substring(0, ix);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
jgen.writeString(str);
|
39
|
-
}
|
40
|
-
|
41
|
-
@Override
|
42
|
-
public void serializeWithType(InetAddress value, JsonGenerator jgen, SerializerProvider provider,
|
43
|
-
TypeSerializer typeSer)
|
44
|
-
throws IOException, JsonGenerationException
|
45
|
-
{
|
46
|
-
// Better ensure we don't use specific sub-classes...
|
47
|
-
typeSer.writeTypePrefixForScalar(value, jgen, InetAddress.class);
|
48
|
-
serialize(value, jgen, provider);
|
49
|
-
typeSer.writeTypeSuffixForScalar(value, jgen);
|
50
|
-
}
|
51
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.Iterator;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.BeanProperty;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.JsonSerializer;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.TypeSerializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
13
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
14
|
-
|
15
|
-
@JacksonStdImpl
|
16
|
-
public class IterableSerializer
|
17
|
-
extends AsArraySerializerBase<Iterable<?>>
|
18
|
-
{
|
19
|
-
public IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
|
20
|
-
{
|
21
|
-
super(Iterable.class, elemType, staticTyping, vts, property, null);
|
22
|
-
}
|
23
|
-
|
24
|
-
@Override
|
25
|
-
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts) {
|
26
|
-
return new IterableSerializer(_elementType, _staticTyping, vts, _property);
|
27
|
-
}
|
28
|
-
|
29
|
-
@Override
|
30
|
-
public void serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
|
31
|
-
throws IOException, JsonGenerationException
|
32
|
-
{
|
33
|
-
Iterator<?> it = value.iterator();
|
34
|
-
if (it.hasNext()) {
|
35
|
-
final TypeSerializer typeSer = _valueTypeSerializer;
|
36
|
-
JsonSerializer<Object> prevSerializer = null;
|
37
|
-
Class<?> prevClass = null;
|
38
|
-
|
39
|
-
do {
|
40
|
-
Object elem = it.next();
|
41
|
-
if (elem == null) {
|
42
|
-
provider.defaultSerializeNull(jgen);
|
43
|
-
} else {
|
44
|
-
// Minor optimization to avoid most lookups:
|
45
|
-
Class<?> cc = elem.getClass();
|
46
|
-
JsonSerializer<Object> currSerializer;
|
47
|
-
if (cc == prevClass) {
|
48
|
-
currSerializer = prevSerializer;
|
49
|
-
} else {
|
50
|
-
currSerializer = provider.findValueSerializer(cc, _property);
|
51
|
-
prevSerializer = currSerializer;
|
52
|
-
prevClass = cc;
|
53
|
-
}
|
54
|
-
if (typeSer == null) {
|
55
|
-
currSerializer.serialize(elem, jgen, provider);
|
56
|
-
} else {
|
57
|
-
currSerializer.serializeWithType(elem, jgen, provider, typeSer);
|
58
|
-
}
|
59
|
-
}
|
60
|
-
} while (it.hasNext());
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
@@ -1,233 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.ser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.lang.reflect.InvocationTargetException;
|
5
|
-
import java.lang.reflect.Method;
|
6
|
-
import java.lang.reflect.Modifier;
|
7
|
-
import java.lang.reflect.Type;
|
8
|
-
|
9
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerationException;
|
10
|
-
import sh.calaba.org.codehaus.jackson.JsonGenerator;
|
11
|
-
import sh.calaba.org.codehaus.jackson.JsonNode;
|
12
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
13
|
-
import sh.calaba.org.codehaus.jackson.map.*;
|
14
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
15
|
-
import sh.calaba.org.codehaus.jackson.map.ser.BeanSerializer;
|
16
|
-
import sh.calaba.org.codehaus.jackson.schema.JsonSchema;
|
17
|
-
import sh.calaba.org.codehaus.jackson.schema.SchemaAware;
|
18
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
19
|
-
|
20
|
-
/**
|
21
|
-
* Serializer class that can serialize Object that have a
|
22
|
-
* {@link sh.calaba.org.codehaus.jackson.annotate.JsonValue} annotation to
|
23
|
-
* indicate that serialization should be done by calling the method
|
24
|
-
* annotated, and serializing result it returns.
|
25
|
-
* <p/>
|
26
|
-
* Implementation note: we will post-process resulting serializer
|
27
|
-
* (much like what is done with {@link BeanSerializer})
|
28
|
-
* to figure out actual serializers for final types. This must be
|
29
|
-
* done from {@link #resolve} method, and NOT from constructor;
|
30
|
-
* otherwise we could end up with an infinite loop.
|
31
|
-
*/
|
32
|
-
@JacksonStdImpl
|
33
|
-
public class JsonValueSerializer
|
34
|
-
extends SerializerBase<Object>
|
35
|
-
implements ResolvableSerializer, SchemaAware
|
36
|
-
{
|
37
|
-
protected final Method _accessorMethod;
|
38
|
-
|
39
|
-
protected JsonSerializer<Object> _valueSerializer;
|
40
|
-
|
41
|
-
protected final BeanProperty _property;
|
42
|
-
|
43
|
-
/**
|
44
|
-
* This is a flag that is set in rare (?) cases where this serializer
|
45
|
-
* is used for "natural" types (boolean, int, String, double); and where
|
46
|
-
* we actually must force type information wrapping, even though
|
47
|
-
* one would not normally be added.
|
48
|
-
*
|
49
|
-
* @since 1.7
|
50
|
-
*/
|
51
|
-
protected boolean _forceTypeInformation;
|
52
|
-
|
53
|
-
/**
|
54
|
-
* @param ser Explicit serializer to use, if caller knows it (which
|
55
|
-
* occurs if and only if the "value method" was annotated with
|
56
|
-
* {@link sh.calaba.org.codehaus.jackson.map.annotate.JsonSerialize#using}), otherwise
|
57
|
-
* null
|
58
|
-
*/
|
59
|
-
public JsonValueSerializer(Method valueMethod, JsonSerializer<Object> ser, BeanProperty property)
|
60
|
-
{
|
61
|
-
super(Object.class);
|
62
|
-
_accessorMethod = valueMethod;
|
63
|
-
_valueSerializer = ser;
|
64
|
-
_property = property;
|
65
|
-
}
|
66
|
-
|
67
|
-
@Override
|
68
|
-
public void serialize(Object bean, JsonGenerator jgen, SerializerProvider prov)
|
69
|
-
throws IOException, JsonGenerationException
|
70
|
-
{
|
71
|
-
try {
|
72
|
-
Object value = _accessorMethod.invoke(bean);
|
73
|
-
|
74
|
-
if (value == null) {
|
75
|
-
prov.defaultSerializeNull(jgen);
|
76
|
-
return;
|
77
|
-
}
|
78
|
-
JsonSerializer<Object> ser = _valueSerializer;
|
79
|
-
if (ser == null) {
|
80
|
-
Class<?> c = value.getClass();
|
81
|
-
/* 10-Mar-2010, tatu: Ideally we would actually separate out type
|
82
|
-
* serializer from value serializer; but, alas, there's no access
|
83
|
-
* to serializer factory at this point...
|
84
|
-
*/
|
85
|
-
// let's cache it, may be needed soon again
|
86
|
-
ser = prov.findTypedValueSerializer(c, true, _property);
|
87
|
-
}
|
88
|
-
ser.serialize(value, jgen, prov);
|
89
|
-
} catch (IOException ioe) {
|
90
|
-
throw ioe;
|
91
|
-
} catch (Exception e) {
|
92
|
-
Throwable t = e;
|
93
|
-
// Need to unwrap this specific type, to see infinite recursion...
|
94
|
-
while (t instanceof InvocationTargetException && t.getCause() != null) {
|
95
|
-
t = t.getCause();
|
96
|
-
}
|
97
|
-
// Errors shouldn't be wrapped (and often can't, as well)
|
98
|
-
if (t instanceof Error) {
|
99
|
-
throw (Error) t;
|
100
|
-
}
|
101
|
-
// let's try to indicate the path best we can...
|
102
|
-
throw JsonMappingException.wrapWithPath(t, bean, _accessorMethod.getName() + "()");
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
@Override
|
107
|
-
public void serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider,
|
108
|
-
TypeSerializer typeSer)
|
109
|
-
throws IOException, JsonProcessingException
|
110
|
-
{
|
111
|
-
// Regardless of other parts, first need to find value to serialize:
|
112
|
-
Object value = null;
|
113
|
-
try {
|
114
|
-
value = _accessorMethod.invoke(bean);
|
115
|
-
|
116
|
-
// and if we got null, can also just write it directly
|
117
|
-
if (value == null) {
|
118
|
-
provider.defaultSerializeNull(jgen);
|
119
|
-
return;
|
120
|
-
}
|
121
|
-
JsonSerializer<Object> ser = _valueSerializer;
|
122
|
-
if (ser != null) { // already got a serializer? fabulous, that be easy...
|
123
|
-
/* 09-Dec-2010, tatu: To work around natural type's refusal to add type info, we do
|
124
|
-
* this (note: type is for the wrapper type, not enclosed value!)
|
125
|
-
*/
|
126
|
-
if (_forceTypeInformation) {
|
127
|
-
typeSer.writeTypePrefixForScalar(bean, jgen);
|
128
|
-
}
|
129
|
-
ser.serializeWithType(value, jgen, provider, typeSer);
|
130
|
-
if (_forceTypeInformation) {
|
131
|
-
typeSer.writeTypeSuffixForScalar(bean, jgen);
|
132
|
-
}
|
133
|
-
return;
|
134
|
-
}
|
135
|
-
// But if not, it gets tad trickier (copied from main serialize() method)
|
136
|
-
Class<?> c = value.getClass();
|
137
|
-
ser = provider.findTypedValueSerializer(c, true, _property);
|
138
|
-
// note: now we have bundled type serializer, so should NOT call with typed version
|
139
|
-
ser.serialize(value, jgen, provider);
|
140
|
-
} catch (IOException ioe) {
|
141
|
-
throw ioe;
|
142
|
-
} catch (Exception e) {
|
143
|
-
Throwable t = e;
|
144
|
-
// Need to unwrap this specific type, to see infinite recursion...
|
145
|
-
while (t instanceof InvocationTargetException && t.getCause() != null) {
|
146
|
-
t = t.getCause();
|
147
|
-
}
|
148
|
-
// Errors shouldn't be wrapped (and often can't, as well)
|
149
|
-
if (t instanceof Error) {
|
150
|
-
throw (Error) t;
|
151
|
-
}
|
152
|
-
// let's try to indicate the path best we can...
|
153
|
-
throw JsonMappingException.wrapWithPath(t, bean, _accessorMethod.getName() + "()");
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
@Override
|
158
|
-
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
|
159
|
-
throws JsonMappingException
|
160
|
-
{
|
161
|
-
return (_valueSerializer instanceof SchemaAware) ?
|
162
|
-
((SchemaAware) _valueSerializer).getSchema(provider, null) :
|
163
|
-
JsonSchema.getDefaultSchemaNode();
|
164
|
-
}
|
165
|
-
|
166
|
-
/*
|
167
|
-
/*******************************************************
|
168
|
-
/* ResolvableSerializer impl
|
169
|
-
/*******************************************************
|
170
|
-
*/
|
171
|
-
|
172
|
-
/**
|
173
|
-
* We can try to find the actual serializer for value, if we can
|
174
|
-
* statically figure out what the result type must be.
|
175
|
-
*/
|
176
|
-
@Override
|
177
|
-
public void resolve(SerializerProvider provider)
|
178
|
-
throws JsonMappingException
|
179
|
-
{
|
180
|
-
if (_valueSerializer == null) {
|
181
|
-
/* Note: we can only assign serializer statically if the
|
182
|
-
* declared type is final -- if not, we don't really know
|
183
|
-
* the actual type until we get the instance.
|
184
|
-
*/
|
185
|
-
// 10-Mar-2010, tatu: Except if static typing is to be used
|
186
|
-
if (provider.isEnabled(SerializationConfig.Feature.USE_STATIC_TYPING)
|
187
|
-
|| Modifier.isFinal(_accessorMethod.getReturnType().getModifiers())) {
|
188
|
-
JavaType t = provider.constructType(_accessorMethod.getGenericReturnType());
|
189
|
-
// false -> no need to cache
|
190
|
-
/* 10-Mar-2010, tatu: Ideally we would actually separate out type
|
191
|
-
* serializer from value serializer; but, alas, there's no access
|
192
|
-
* to serializer factory at this point...
|
193
|
-
*/
|
194
|
-
_valueSerializer = provider.findTypedValueSerializer(t, false, _property);
|
195
|
-
/* 09-Dec-2010, tatu: Turns out we must add special handling for
|
196
|
-
* cases where "native" (aka "natural") type is being serialized,
|
197
|
-
* using standard serializer
|
198
|
-
*/
|
199
|
-
_forceTypeInformation = isNaturalTypeWithStdHandling(t, _valueSerializer);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
|
204
|
-
protected boolean isNaturalTypeWithStdHandling(JavaType type, JsonSerializer<?> ser)
|
205
|
-
{
|
206
|
-
Class<?> cls = type.getRawClass();
|
207
|
-
// First: do we have a natural type being handled?
|
208
|
-
if (type.isPrimitive()) {
|
209
|
-
if (cls != Integer.TYPE && cls != Boolean.TYPE && cls != Double.TYPE) {
|
210
|
-
return false;
|
211
|
-
}
|
212
|
-
} else {
|
213
|
-
if (cls != String.class &&
|
214
|
-
cls != Integer.class && cls != Boolean.class && cls != Double.class) {
|
215
|
-
return false;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
// Second: and it's handled with standard serializer?
|
219
|
-
return (ser.getClass().getAnnotation(JacksonStdImpl.class)) != null;
|
220
|
-
}
|
221
|
-
|
222
|
-
/*
|
223
|
-
/**********************************************************
|
224
|
-
/* Other methods
|
225
|
-
/**********************************************************
|
226
|
-
*/
|
227
|
-
|
228
|
-
@Override
|
229
|
-
public String toString()
|
230
|
-
{
|
231
|
-
return "(@JsonValue serializer for method " + _accessorMethod.getDeclaringClass() + "#" + _accessorMethod.getName() + ")";
|
232
|
-
}
|
233
|
-
}
|