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,37 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import sh.calaba.org.codehaus.jackson.map.JsonDeserializer;
|
4
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Intermediate base deserializer class that adds more shared accessor
|
8
|
-
* so that other classes can access information about contained (value)
|
9
|
-
* types
|
10
|
-
*
|
11
|
-
* @since 1.9 (renamed from 'sh.calaba.org.codehaus.jackson.map.deser.ContainerDeserializer')
|
12
|
-
*/
|
13
|
-
public abstract class ContainerDeserializerBase<T>
|
14
|
-
extends StdDeserializer<T>
|
15
|
-
{
|
16
|
-
protected ContainerDeserializerBase(Class<?> selfType)
|
17
|
-
{
|
18
|
-
super(selfType);
|
19
|
-
}
|
20
|
-
|
21
|
-
/*
|
22
|
-
/**********************************************************
|
23
|
-
/* Extended API
|
24
|
-
/**********************************************************
|
25
|
-
*/
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Accessor for declared type of contained value elements; either exact
|
29
|
-
* type, or one of its supertypes.
|
30
|
-
*/
|
31
|
-
public abstract JavaType getContentType();
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Accesor for deserializer use for deserializing content values.
|
35
|
-
*/
|
36
|
-
public abstract JsonDeserializer<Object> getContentDeserializer();
|
37
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.Date;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Simple deserializer for handling {@link java.util.Date} values.
|
12
|
-
*<p>
|
13
|
-
* One way to customize Date formats accepted is to override method
|
14
|
-
* {@link DeserializationContext#parseDate} that this basic
|
15
|
-
* deserializer calls.
|
16
|
-
*
|
17
|
-
* @since 1.9 (moved from higher-level package)
|
18
|
-
*/
|
19
|
-
public class DateDeserializer
|
20
|
-
extends StdScalarDeserializer<Date>
|
21
|
-
{
|
22
|
-
public DateDeserializer() { super(Date.class); }
|
23
|
-
|
24
|
-
@Override
|
25
|
-
public java.util.Date deserialize(JsonParser jp, DeserializationContext ctxt)
|
26
|
-
throws IOException, JsonProcessingException
|
27
|
-
{
|
28
|
-
return _parseDate(jp, ctxt);
|
29
|
-
}
|
30
|
-
}
|
@@ -1,139 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.lang.reflect.Method;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.JsonToken;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationConfig;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.JsonDeserializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JsonCachable;
|
13
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedMethod;
|
14
|
-
import sh.calaba.org.codehaus.jackson.map.util.ClassUtil;
|
15
|
-
import sh.calaba.org.codehaus.jackson.map.util.EnumResolver;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Deserializer class that can deserialize instances of
|
19
|
-
* specified Enum class from Strings and Integers.
|
20
|
-
*
|
21
|
-
* @since 1.9 (moved from higher-level package)
|
22
|
-
*/
|
23
|
-
@JsonCachable
|
24
|
-
public class EnumDeserializer
|
25
|
-
extends StdScalarDeserializer<Enum<?>>
|
26
|
-
{
|
27
|
-
protected final EnumResolver<?> _resolver;
|
28
|
-
|
29
|
-
public EnumDeserializer(EnumResolver<?> res)
|
30
|
-
{
|
31
|
-
super(Enum.class);
|
32
|
-
_resolver = res;
|
33
|
-
}
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Factory method used when Enum instances are to be deserialized
|
37
|
-
* using a creator (static factory method)
|
38
|
-
*
|
39
|
-
* @return Deserializer based on given factory method, if type was suitable;
|
40
|
-
* null if type can not be used
|
41
|
-
*
|
42
|
-
* @since 1.6
|
43
|
-
*/
|
44
|
-
public static JsonDeserializer<?> deserializerForCreator(DeserializationConfig config,
|
45
|
-
Class<?> enumClass, AnnotatedMethod factory)
|
46
|
-
{
|
47
|
-
// note: caller has verified there's just one arg; but we must verify its type
|
48
|
-
if (factory.getParameterType(0) != String.class) {
|
49
|
-
throw new IllegalArgumentException("Parameter #0 type for factory method ("+factory+") not suitable, must be java.lang.String");
|
50
|
-
}
|
51
|
-
if (config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS)) {
|
52
|
-
ClassUtil.checkAndFixAccess(factory.getMember());
|
53
|
-
}
|
54
|
-
return new FactoryBasedDeserializer(enumClass, factory);
|
55
|
-
}
|
56
|
-
|
57
|
-
/*
|
58
|
-
/**********************************************************
|
59
|
-
/* Default JsonDeserializer implementation
|
60
|
-
/**********************************************************
|
61
|
-
*/
|
62
|
-
|
63
|
-
@Override
|
64
|
-
public Enum<?> deserialize(JsonParser jp, DeserializationContext ctxt)
|
65
|
-
throws IOException, JsonProcessingException
|
66
|
-
{
|
67
|
-
JsonToken curr = jp.getCurrentToken();
|
68
|
-
|
69
|
-
// Usually should just get string value; but in some cases FIELD_NAME (enum as key)
|
70
|
-
if (curr == JsonToken.VALUE_STRING || curr == JsonToken.FIELD_NAME) {
|
71
|
-
String name = jp.getText();
|
72
|
-
Enum<?> result = _resolver.findEnum(name);
|
73
|
-
if (result == null) {
|
74
|
-
throw ctxt.weirdStringException(_resolver.getEnumClass(), "value not one of declared Enum instance names");
|
75
|
-
}
|
76
|
-
return result;
|
77
|
-
}
|
78
|
-
// But let's consider int acceptable as well (if within ordinal range)
|
79
|
-
if (curr == JsonToken.VALUE_NUMBER_INT) {
|
80
|
-
/* ... unless told not to do that. :-)
|
81
|
-
* (as per [JACKSON-412]
|
82
|
-
*/
|
83
|
-
if (ctxt.isEnabled(DeserializationConfig.Feature.FAIL_ON_NUMBERS_FOR_ENUMS)) {
|
84
|
-
throw ctxt.mappingException("Not allowed to deserialize Enum value out of JSON number (disable DeserializationConfig.Feature.FAIL_ON_NUMBERS_FOR_ENUMS to allow)");
|
85
|
-
}
|
86
|
-
|
87
|
-
int index = jp.getIntValue();
|
88
|
-
Enum<?> result = _resolver.getEnum(index);
|
89
|
-
if (result == null) {
|
90
|
-
throw ctxt.weirdNumberException(_resolver.getEnumClass(), "index value outside legal index range [0.."+_resolver.lastValidIndex()+"]");
|
91
|
-
}
|
92
|
-
return result;
|
93
|
-
}
|
94
|
-
throw ctxt.mappingException(_resolver.getEnumClass());
|
95
|
-
}
|
96
|
-
|
97
|
-
/*
|
98
|
-
/**********************************************************
|
99
|
-
/* Default JsonDeserializer implementation
|
100
|
-
/**********************************************************
|
101
|
-
*/
|
102
|
-
|
103
|
-
/**
|
104
|
-
* Deserializer that uses a single-String static factory method
|
105
|
-
* for locating Enum values by String id.
|
106
|
-
*/
|
107
|
-
protected static class FactoryBasedDeserializer
|
108
|
-
extends StdScalarDeserializer<Object>
|
109
|
-
{
|
110
|
-
protected final Class<?> _enumClass;
|
111
|
-
protected final Method _factory;
|
112
|
-
|
113
|
-
public FactoryBasedDeserializer(Class<?> cls, AnnotatedMethod f)
|
114
|
-
{
|
115
|
-
super(Enum.class);
|
116
|
-
_enumClass = cls;
|
117
|
-
_factory = f.getAnnotated();
|
118
|
-
}
|
119
|
-
|
120
|
-
@Override
|
121
|
-
public Object deserialize(JsonParser jp, DeserializationContext ctxt)
|
122
|
-
throws IOException, JsonProcessingException
|
123
|
-
{
|
124
|
-
JsonToken curr = jp.getCurrentToken();
|
125
|
-
|
126
|
-
// Usually should just get string value:
|
127
|
-
if (curr != JsonToken.VALUE_STRING && curr != JsonToken.FIELD_NAME) {
|
128
|
-
throw ctxt.mappingException(_enumClass);
|
129
|
-
}
|
130
|
-
String value = jp.getText();
|
131
|
-
try {
|
132
|
-
return _factory.invoke(_enumClass, value);
|
133
|
-
} catch (Exception e) {
|
134
|
-
ClassUtil.unwrapAndThrowAsIAE(e);
|
135
|
-
}
|
136
|
-
return null;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
}
|
@@ -1,90 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.*;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.JsonToken;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.JsonDeserializer;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.TypeDeserializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.deser.std.StdDeserializer;
|
13
|
-
import sh.calaba.org.codehaus.jackson.map.util.EnumResolver;
|
14
|
-
|
15
|
-
/**
|
16
|
-
*
|
17
|
-
* <p>
|
18
|
-
* Note: casting within this class is all messed up -- just could not figure out a way
|
19
|
-
* to properly deal with recursive definition of "EnumMap<K extends Enum<K>, V>
|
20
|
-
*
|
21
|
-
* @author tsaloranta
|
22
|
-
*
|
23
|
-
* @since 1.9 (renamed from 'sh.calaba.org.codehaus.jackson.map.deser.EnumMapDeserializer')
|
24
|
-
*/
|
25
|
-
@SuppressWarnings({ "unchecked", "rawtypes" })
|
26
|
-
public class EnumMapDeserializer
|
27
|
-
extends StdDeserializer<EnumMap<?,?>>
|
28
|
-
{
|
29
|
-
protected final Class<?> _enumClass;
|
30
|
-
|
31
|
-
protected final JsonDeserializer<Enum<?>> _keyDeserializer;
|
32
|
-
|
33
|
-
protected final JsonDeserializer<Object> _valueDeserializer;
|
34
|
-
|
35
|
-
@Deprecated
|
36
|
-
public EnumMapDeserializer(EnumResolver<?> enumRes, JsonDeserializer<Object> valueDeser)
|
37
|
-
{
|
38
|
-
this(enumRes.getEnumClass(), new EnumDeserializer(enumRes), valueDeser);
|
39
|
-
}
|
40
|
-
|
41
|
-
public EnumMapDeserializer(Class<?> enumClass, JsonDeserializer<?> keyDeserializer,
|
42
|
-
JsonDeserializer<Object> valueDeser)
|
43
|
-
{
|
44
|
-
super(EnumMap.class);
|
45
|
-
_enumClass = enumClass;
|
46
|
-
_keyDeserializer = (JsonDeserializer<Enum<?>>) keyDeserializer;
|
47
|
-
_valueDeserializer = valueDeser;
|
48
|
-
}
|
49
|
-
|
50
|
-
@Override
|
51
|
-
public EnumMap<?,?> deserialize(JsonParser jp, DeserializationContext ctxt)
|
52
|
-
throws IOException, JsonProcessingException
|
53
|
-
{
|
54
|
-
// Ok: must point to START_OBJECT
|
55
|
-
if (jp.getCurrentToken() != JsonToken.START_OBJECT) {
|
56
|
-
throw ctxt.mappingException(EnumMap.class);
|
57
|
-
}
|
58
|
-
EnumMap result = constructMap();
|
59
|
-
|
60
|
-
while ((jp.nextToken()) != JsonToken.END_OBJECT) {
|
61
|
-
Enum<?> key = _keyDeserializer.deserialize(jp, ctxt);
|
62
|
-
if (key == null) {
|
63
|
-
throw ctxt.weirdStringException(_enumClass, "value not one of declared Enum instance names");
|
64
|
-
}
|
65
|
-
// And then the value...
|
66
|
-
JsonToken t = jp.nextToken();
|
67
|
-
/* note: MUST check for nulls separately: deserializers will
|
68
|
-
* not handle them (and maybe fail or return bogus data)
|
69
|
-
*/
|
70
|
-
Object value = (t == JsonToken.VALUE_NULL) ?
|
71
|
-
null : _valueDeserializer.deserialize(jp, ctxt);
|
72
|
-
result.put(key, value);
|
73
|
-
}
|
74
|
-
return result;
|
75
|
-
}
|
76
|
-
|
77
|
-
@Override
|
78
|
-
public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
|
79
|
-
TypeDeserializer typeDeserializer)
|
80
|
-
throws IOException, JsonProcessingException
|
81
|
-
{
|
82
|
-
// In future could check current token... for now this should be enough:
|
83
|
-
return typeDeserializer.deserializeTypedFromObject(jp, ctxt);
|
84
|
-
}
|
85
|
-
|
86
|
-
private EnumMap<?,?> constructMap()
|
87
|
-
{
|
88
|
-
return new EnumMap(_enumClass);
|
89
|
-
}
|
90
|
-
}
|
@@ -1,89 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.*;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.JsonToken;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.JsonDeserializer;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.TypeDeserializer;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.util.EnumResolver;
|
13
|
-
|
14
|
-
/**
|
15
|
-
*
|
16
|
-
* <p>
|
17
|
-
* Note: casting within this class is all messed up -- just could not figure out a way
|
18
|
-
* to properly deal with recursive definition of "EnumSet<K extends Enum<K>, V>
|
19
|
-
*
|
20
|
-
* @author tsaloranta
|
21
|
-
*
|
22
|
-
* @since 1.9 (moved from higher-level package)
|
23
|
-
*/
|
24
|
-
@SuppressWarnings("rawtypes")
|
25
|
-
public class EnumSetDeserializer
|
26
|
-
extends StdDeserializer<EnumSet<?>>
|
27
|
-
{
|
28
|
-
protected final Class<Enum> _enumClass;
|
29
|
-
|
30
|
-
protected final JsonDeserializer<Enum<?>> _enumDeserializer;
|
31
|
-
|
32
|
-
@SuppressWarnings("unchecked" )
|
33
|
-
public EnumSetDeserializer(EnumResolver enumRes)
|
34
|
-
{
|
35
|
-
// fugly, but what we can we do...
|
36
|
-
this((Class<Enum>) ((Class<?>) enumRes.getEnumClass()),
|
37
|
-
new EnumDeserializer(enumRes));
|
38
|
-
}
|
39
|
-
|
40
|
-
@SuppressWarnings("unchecked" )
|
41
|
-
public EnumSetDeserializer(Class<?> enumClass, JsonDeserializer<?> deser)
|
42
|
-
{
|
43
|
-
super(EnumSet.class);
|
44
|
-
_enumClass = (Class<Enum>) enumClass;
|
45
|
-
_enumDeserializer = (JsonDeserializer<Enum<?>>) deser;
|
46
|
-
}
|
47
|
-
|
48
|
-
@SuppressWarnings("unchecked")
|
49
|
-
@Override
|
50
|
-
public EnumSet<?> deserialize(JsonParser jp, DeserializationContext ctxt)
|
51
|
-
throws IOException, JsonProcessingException
|
52
|
-
{
|
53
|
-
// Ok: must point to START_ARRAY (or equivalent)
|
54
|
-
if (!jp.isExpectedStartArrayToken()) {
|
55
|
-
throw ctxt.mappingException(EnumSet.class);
|
56
|
-
}
|
57
|
-
EnumSet result = constructSet();
|
58
|
-
JsonToken t;
|
59
|
-
|
60
|
-
while ((t = jp.nextToken()) != JsonToken.END_ARRAY) {
|
61
|
-
/* What to do with nulls? Fail or ignore? Fail, for now
|
62
|
-
* (note: would fail if we passed it to EnumDeserializer, too,
|
63
|
-
* but in general nulls should never be passed to non-container
|
64
|
-
* deserializers)
|
65
|
-
*/
|
66
|
-
if (t == JsonToken.VALUE_NULL) {
|
67
|
-
throw ctxt.mappingException(_enumClass);
|
68
|
-
}
|
69
|
-
Enum<?> value = _enumDeserializer.deserialize(jp, ctxt);
|
70
|
-
result.add(value);
|
71
|
-
}
|
72
|
-
return result;
|
73
|
-
}
|
74
|
-
|
75
|
-
@Override
|
76
|
-
public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
|
77
|
-
TypeDeserializer typeDeserializer)
|
78
|
-
throws IOException, JsonProcessingException
|
79
|
-
{
|
80
|
-
return typeDeserializer.deserializeTypedFromArray(jp, ctxt);
|
81
|
-
}
|
82
|
-
|
83
|
-
@SuppressWarnings("unchecked")
|
84
|
-
private EnumSet constructSet()
|
85
|
-
{
|
86
|
-
// superbly ugly... but apparently necessary
|
87
|
-
return EnumSet.noneOf(_enumClass);
|
88
|
-
}
|
89
|
-
}
|
@@ -1,265 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.*;
|
4
|
-
import java.net.InetAddress;
|
5
|
-
import java.net.URI;
|
6
|
-
import java.net.URL;
|
7
|
-
import java.nio.charset.Charset;
|
8
|
-
import java.util.*;
|
9
|
-
import java.util.regex.Pattern;
|
10
|
-
|
11
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
12
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
13
|
-
import sh.calaba.org.codehaus.jackson.JsonToken;
|
14
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
15
|
-
|
16
|
-
/**
|
17
|
-
* Base class for simple deserializer which only accept JSON String
|
18
|
-
* values as the source.
|
19
|
-
*
|
20
|
-
* @since 1.9 (moved from higher-level package)
|
21
|
-
*/
|
22
|
-
public abstract class FromStringDeserializer<T>
|
23
|
-
extends StdScalarDeserializer<T>
|
24
|
-
{
|
25
|
-
protected FromStringDeserializer(Class<?> vc) {
|
26
|
-
super(vc);
|
27
|
-
}
|
28
|
-
|
29
|
-
public static Iterable<FromStringDeserializer<?>>all()
|
30
|
-
{
|
31
|
-
ArrayList<FromStringDeserializer<?>> all = new ArrayList<FromStringDeserializer<?>>();
|
32
|
-
|
33
|
-
all.add(new UUIDDeserializer());
|
34
|
-
all.add(new URLDeserializer());
|
35
|
-
all.add(new URIDeserializer());
|
36
|
-
all.add(new CurrencyDeserializer());
|
37
|
-
all.add(new PatternDeserializer());
|
38
|
-
// since 1.7:
|
39
|
-
all.add(new LocaleDeserializer());
|
40
|
-
// 1.8:
|
41
|
-
all.add(new InetAddressDeserializer());
|
42
|
-
all.add(new TimeZoneDeserializer());
|
43
|
-
// 1.9
|
44
|
-
all.add(new CharsetDeserializer());
|
45
|
-
|
46
|
-
return all;
|
47
|
-
}
|
48
|
-
|
49
|
-
@SuppressWarnings("unchecked")
|
50
|
-
@Override
|
51
|
-
public final T deserialize(JsonParser jp, DeserializationContext ctxt)
|
52
|
-
throws IOException, JsonProcessingException
|
53
|
-
{
|
54
|
-
if (jp.getCurrentToken() == JsonToken.VALUE_STRING) {
|
55
|
-
String text = jp.getText().trim();
|
56
|
-
// 15-Oct-2010, tatu: Empty String usually means null, so
|
57
|
-
if (text.length() == 0) {
|
58
|
-
return null;
|
59
|
-
}
|
60
|
-
try {
|
61
|
-
T result = _deserialize(text, ctxt);
|
62
|
-
if (result != null) {
|
63
|
-
return result;
|
64
|
-
}
|
65
|
-
} catch (IllegalArgumentException iae) {
|
66
|
-
// nothing to do here, yet? We'll fail anyway
|
67
|
-
}
|
68
|
-
throw ctxt.weirdStringException(_valueClass, "not a valid textual representation");
|
69
|
-
}
|
70
|
-
if (jp.getCurrentToken() == JsonToken.VALUE_EMBEDDED_OBJECT) {
|
71
|
-
// Trivial cases; null to null, instance of type itself returned as is
|
72
|
-
Object ob = jp.getEmbeddedObject();
|
73
|
-
if (ob == null) {
|
74
|
-
return null;
|
75
|
-
}
|
76
|
-
if (_valueClass.isAssignableFrom(ob.getClass())) {
|
77
|
-
return (T) ob;
|
78
|
-
}
|
79
|
-
return _deserializeEmbedded(ob, ctxt);
|
80
|
-
}
|
81
|
-
throw ctxt.mappingException(_valueClass);
|
82
|
-
}
|
83
|
-
|
84
|
-
protected abstract T _deserialize(String value, DeserializationContext ctxt)
|
85
|
-
throws IOException, JsonProcessingException;
|
86
|
-
|
87
|
-
protected T _deserializeEmbedded(Object ob, DeserializationContext ctxt)
|
88
|
-
throws IOException, JsonProcessingException
|
89
|
-
{
|
90
|
-
// default impl: error out
|
91
|
-
throw ctxt.mappingException("Don't know how to convert embedded Object of type "
|
92
|
-
+ob.getClass().getName()+" into "+_valueClass.getName());
|
93
|
-
}
|
94
|
-
|
95
|
-
/*
|
96
|
-
/**********************************************************
|
97
|
-
/* Then concrete implementations
|
98
|
-
/**********************************************************
|
99
|
-
*/
|
100
|
-
|
101
|
-
public static class UUIDDeserializer
|
102
|
-
extends FromStringDeserializer<UUID>
|
103
|
-
{
|
104
|
-
public UUIDDeserializer() { super(UUID.class); }
|
105
|
-
|
106
|
-
@Override
|
107
|
-
protected UUID _deserialize(String value, DeserializationContext ctxt)
|
108
|
-
throws IOException, JsonProcessingException
|
109
|
-
{
|
110
|
-
return UUID.fromString(value);
|
111
|
-
}
|
112
|
-
|
113
|
-
@Override
|
114
|
-
protected UUID _deserializeEmbedded(Object ob, DeserializationContext ctxt)
|
115
|
-
throws IOException, JsonProcessingException
|
116
|
-
{
|
117
|
-
if (ob instanceof byte[]) {
|
118
|
-
byte[] bytes = (byte[]) ob;
|
119
|
-
if (bytes.length != 16) {
|
120
|
-
ctxt.mappingException("Can only construct UUIDs from 16 byte arrays; got "+bytes.length+" bytes");
|
121
|
-
}
|
122
|
-
// clumsy, but should work for now...
|
123
|
-
DataInputStream in = new DataInputStream(new ByteArrayInputStream(bytes));
|
124
|
-
long l1 = in.readLong();
|
125
|
-
long l2 = in.readLong();
|
126
|
-
return new UUID(l1, l2);
|
127
|
-
}
|
128
|
-
super._deserializeEmbedded(ob, ctxt);
|
129
|
-
return null; // never gets here
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
public static class URLDeserializer
|
134
|
-
extends FromStringDeserializer<URL>
|
135
|
-
{
|
136
|
-
public URLDeserializer() { super(URL.class); }
|
137
|
-
|
138
|
-
@Override
|
139
|
-
protected URL _deserialize(String value, DeserializationContext ctxt)
|
140
|
-
throws IOException
|
141
|
-
{
|
142
|
-
return new URL(value);
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
public static class URIDeserializer
|
147
|
-
extends FromStringDeserializer<URI>
|
148
|
-
{
|
149
|
-
public URIDeserializer() { super(URI.class); }
|
150
|
-
|
151
|
-
@Override
|
152
|
-
protected URI _deserialize(String value, DeserializationContext ctxt)
|
153
|
-
throws IllegalArgumentException
|
154
|
-
{
|
155
|
-
return URI.create(value);
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
|
-
public static class CurrencyDeserializer
|
160
|
-
extends FromStringDeserializer<Currency>
|
161
|
-
{
|
162
|
-
public CurrencyDeserializer() { super(Currency.class); }
|
163
|
-
|
164
|
-
@Override
|
165
|
-
protected Currency _deserialize(String value, DeserializationContext ctxt)
|
166
|
-
throws IllegalArgumentException
|
167
|
-
{
|
168
|
-
// will throw IAE if unknown:
|
169
|
-
return Currency.getInstance(value);
|
170
|
-
}
|
171
|
-
}
|
172
|
-
|
173
|
-
public static class PatternDeserializer
|
174
|
-
extends FromStringDeserializer<Pattern>
|
175
|
-
{
|
176
|
-
public PatternDeserializer() { super(Pattern.class); }
|
177
|
-
|
178
|
-
@Override
|
179
|
-
protected Pattern _deserialize(String value, DeserializationContext ctxt)
|
180
|
-
throws IllegalArgumentException
|
181
|
-
{
|
182
|
-
// will throw IAE (or its subclass) if malformed
|
183
|
-
return Pattern.compile(value);
|
184
|
-
}
|
185
|
-
}
|
186
|
-
|
187
|
-
/**
|
188
|
-
* Kept protected as it's not meant to be extensible at this point
|
189
|
-
*
|
190
|
-
* @since 1.7
|
191
|
-
*/
|
192
|
-
protected static class LocaleDeserializer
|
193
|
-
extends FromStringDeserializer<Locale>
|
194
|
-
{
|
195
|
-
public LocaleDeserializer() { super(Locale.class); }
|
196
|
-
|
197
|
-
@Override
|
198
|
-
protected Locale _deserialize(String value, DeserializationContext ctxt)
|
199
|
-
throws IOException
|
200
|
-
{
|
201
|
-
int ix = value.indexOf('_');
|
202
|
-
if (ix < 0) { // single argument
|
203
|
-
return new Locale(value);
|
204
|
-
}
|
205
|
-
String first = value.substring(0, ix);
|
206
|
-
value = value.substring(ix+1);
|
207
|
-
ix = value.indexOf('_');
|
208
|
-
if (ix < 0) { // two pieces
|
209
|
-
return new Locale(first, value);
|
210
|
-
}
|
211
|
-
String second = value.substring(0, ix);
|
212
|
-
return new Locale(first, second, value.substring(ix+1));
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
|
-
/**
|
217
|
-
* As per [JACKSON-484], also need special handling for InetAddress...
|
218
|
-
*
|
219
|
-
* @since 1.7.4
|
220
|
-
*/
|
221
|
-
protected static class InetAddressDeserializer
|
222
|
-
extends FromStringDeserializer<InetAddress>
|
223
|
-
{
|
224
|
-
public InetAddressDeserializer() { super(InetAddress.class); }
|
225
|
-
|
226
|
-
@Override
|
227
|
-
protected InetAddress _deserialize(String value, DeserializationContext ctxt)
|
228
|
-
throws IOException
|
229
|
-
{
|
230
|
-
return InetAddress.getByName(value);
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
// [JACKSON-789] (since 1.9.5)
|
235
|
-
protected static class CharsetDeserializer
|
236
|
-
extends FromStringDeserializer<Charset>
|
237
|
-
{
|
238
|
-
public CharsetDeserializer() { super(Charset.class); }
|
239
|
-
|
240
|
-
@Override
|
241
|
-
protected Charset _deserialize(String value, DeserializationContext ctxt)
|
242
|
-
throws IOException
|
243
|
-
{
|
244
|
-
return Charset.forName(value);
|
245
|
-
}
|
246
|
-
}
|
247
|
-
|
248
|
-
/**
|
249
|
-
* As per [JACKSON-522], also need special handling for InetAddress...
|
250
|
-
*
|
251
|
-
* @since 1.7.4
|
252
|
-
*/
|
253
|
-
protected static class TimeZoneDeserializer
|
254
|
-
extends FromStringDeserializer<TimeZone>
|
255
|
-
{
|
256
|
-
public TimeZoneDeserializer() { super(TimeZone.class); }
|
257
|
-
|
258
|
-
@Override
|
259
|
-
protected TimeZone _deserialize(String value, DeserializationContext ctxt)
|
260
|
-
throws IOException
|
261
|
-
{
|
262
|
-
return TimeZone.getTimeZone(value);
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|