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,392 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
|
5
|
-
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
6
|
-
import sh.calaba.org.codehaus.jackson.map.DeserializationConfig;
|
7
|
-
import sh.calaba.org.codehaus.jackson.map.JsonMappingException;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.deser.SettableBeanProperty;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.deser.impl.CreatorProperty;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedWithParams;
|
12
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
13
|
-
|
14
|
-
/**
|
15
|
-
* Basic {@link ValueInstantiator} implementation, which only
|
16
|
-
* supports use of default constructor. Sub-types can add
|
17
|
-
* support for alternate construction methods, such as using
|
18
|
-
* argument-taking constructors or static factory methods.
|
19
|
-
*
|
20
|
-
* @since 1.9.0
|
21
|
-
*/
|
22
|
-
public class StdValueInstantiator
|
23
|
-
extends ValueInstantiator
|
24
|
-
{
|
25
|
-
/**
|
26
|
-
* Type of values that are instantiated; used
|
27
|
-
* for error reporting purposes.
|
28
|
-
*/
|
29
|
-
protected final String _valueTypeDesc;
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Are we allowed to convert empty Strings to null objects?
|
33
|
-
*/
|
34
|
-
protected final boolean _cfgEmptyStringsAsObjects;
|
35
|
-
|
36
|
-
// // // Default (no-args) construction
|
37
|
-
|
38
|
-
/**
|
39
|
-
* Default (no-argument) constructor to use for instantiation
|
40
|
-
* (with {@link #createUsingDefault})
|
41
|
-
*/
|
42
|
-
protected AnnotatedWithParams _defaultCreator;
|
43
|
-
|
44
|
-
// // // With-args (property-based) construction
|
45
|
-
|
46
|
-
protected CreatorProperty[] _constructorArguments;
|
47
|
-
protected AnnotatedWithParams _withArgsCreator;
|
48
|
-
|
49
|
-
// // // Delegate construction
|
50
|
-
|
51
|
-
protected JavaType _delegateType;
|
52
|
-
protected AnnotatedWithParams _delegateCreator;
|
53
|
-
|
54
|
-
// // // Scalar construction
|
55
|
-
|
56
|
-
protected AnnotatedWithParams _fromStringCreator;
|
57
|
-
protected AnnotatedWithParams _fromIntCreator;
|
58
|
-
protected AnnotatedWithParams _fromLongCreator;
|
59
|
-
protected AnnotatedWithParams _fromDoubleCreator;
|
60
|
-
protected AnnotatedWithParams _fromBooleanCreator;
|
61
|
-
|
62
|
-
/*
|
63
|
-
/**********************************************************
|
64
|
-
/* Life-cycle
|
65
|
-
/**********************************************************
|
66
|
-
*/
|
67
|
-
|
68
|
-
public StdValueInstantiator(DeserializationConfig config, Class<?> valueType)
|
69
|
-
{
|
70
|
-
_cfgEmptyStringsAsObjects = (config == null) ? false
|
71
|
-
: config.isEnabled(DeserializationConfig.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT);
|
72
|
-
_valueTypeDesc = (valueType == null) ? "UNKNOWN TYPE" : valueType.getName();
|
73
|
-
}
|
74
|
-
|
75
|
-
public StdValueInstantiator(DeserializationConfig config, JavaType valueType)
|
76
|
-
{
|
77
|
-
_cfgEmptyStringsAsObjects = (config == null) ? false
|
78
|
-
: config.isEnabled(DeserializationConfig.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT);
|
79
|
-
_valueTypeDesc = (valueType == null) ? "UNKNOWN TYPE" : valueType.toString();
|
80
|
-
}
|
81
|
-
|
82
|
-
/**
|
83
|
-
* Copy-constructor that sub-classes can use when creating new instances
|
84
|
-
* by fluent-style construction
|
85
|
-
*/
|
86
|
-
protected StdValueInstantiator(StdValueInstantiator src)
|
87
|
-
{
|
88
|
-
_cfgEmptyStringsAsObjects = src._cfgEmptyStringsAsObjects;
|
89
|
-
_valueTypeDesc = src._valueTypeDesc;
|
90
|
-
|
91
|
-
_defaultCreator = src._defaultCreator;
|
92
|
-
|
93
|
-
_constructorArguments = src._constructorArguments;
|
94
|
-
_withArgsCreator = src._withArgsCreator;
|
95
|
-
|
96
|
-
_delegateType = src._delegateType;
|
97
|
-
_delegateCreator = src._delegateCreator;
|
98
|
-
|
99
|
-
_fromStringCreator = src._fromStringCreator;
|
100
|
-
_fromIntCreator = src._fromIntCreator;
|
101
|
-
_fromLongCreator = src._fromLongCreator;
|
102
|
-
_fromDoubleCreator = src._fromDoubleCreator;
|
103
|
-
_fromBooleanCreator = src._fromBooleanCreator;
|
104
|
-
}
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Method for setting properties related to instantiating values
|
108
|
-
* from JSON Object. We will choose basically only one approach (out of possible
|
109
|
-
* three), and clear other properties
|
110
|
-
*/
|
111
|
-
public void configureFromObjectSettings(AnnotatedWithParams defaultCreator,
|
112
|
-
AnnotatedWithParams delegateCreator, JavaType delegateType,
|
113
|
-
AnnotatedWithParams withArgsCreator, CreatorProperty[] constructorArgs)
|
114
|
-
{
|
115
|
-
_defaultCreator = defaultCreator;
|
116
|
-
_delegateCreator = delegateCreator;
|
117
|
-
_delegateType = delegateType;
|
118
|
-
_withArgsCreator = withArgsCreator;
|
119
|
-
_constructorArguments = constructorArgs;
|
120
|
-
}
|
121
|
-
|
122
|
-
public void configureFromStringCreator(AnnotatedWithParams creator) {
|
123
|
-
_fromStringCreator = creator;
|
124
|
-
}
|
125
|
-
|
126
|
-
public void configureFromIntCreator(AnnotatedWithParams creator) {
|
127
|
-
_fromIntCreator = creator;
|
128
|
-
}
|
129
|
-
|
130
|
-
public void configureFromLongCreator(AnnotatedWithParams creator) {
|
131
|
-
_fromLongCreator = creator;
|
132
|
-
}
|
133
|
-
|
134
|
-
public void configureFromDoubleCreator(AnnotatedWithParams creator) {
|
135
|
-
_fromDoubleCreator = creator;
|
136
|
-
}
|
137
|
-
|
138
|
-
public void configureFromBooleanCreator(AnnotatedWithParams creator) {
|
139
|
-
_fromBooleanCreator = creator;
|
140
|
-
}
|
141
|
-
|
142
|
-
/*
|
143
|
-
/**********************************************************
|
144
|
-
/* Public API implementation; metadata
|
145
|
-
/**********************************************************
|
146
|
-
*/
|
147
|
-
|
148
|
-
@Override
|
149
|
-
public String getValueTypeDesc() {
|
150
|
-
return _valueTypeDesc;
|
151
|
-
}
|
152
|
-
|
153
|
-
@Override
|
154
|
-
public boolean canCreateFromString() {
|
155
|
-
return (_fromStringCreator != null);
|
156
|
-
}
|
157
|
-
|
158
|
-
@Override
|
159
|
-
public boolean canCreateFromInt() {
|
160
|
-
return (_fromIntCreator != null);
|
161
|
-
}
|
162
|
-
|
163
|
-
@Override
|
164
|
-
public boolean canCreateFromLong() {
|
165
|
-
return (_fromLongCreator != null);
|
166
|
-
}
|
167
|
-
|
168
|
-
@Override
|
169
|
-
public boolean canCreateFromDouble() {
|
170
|
-
return (_fromDoubleCreator != null);
|
171
|
-
}
|
172
|
-
|
173
|
-
@Override
|
174
|
-
public boolean canCreateFromBoolean() {
|
175
|
-
return (_fromBooleanCreator != null);
|
176
|
-
}
|
177
|
-
|
178
|
-
@Override
|
179
|
-
public boolean canCreateUsingDefault() {
|
180
|
-
return (_defaultCreator != null);
|
181
|
-
}
|
182
|
-
|
183
|
-
@Override
|
184
|
-
public boolean canCreateFromObjectWith() {
|
185
|
-
return (_withArgsCreator != null);
|
186
|
-
}
|
187
|
-
|
188
|
-
@Override
|
189
|
-
public JavaType getDelegateType() {
|
190
|
-
return _delegateType;
|
191
|
-
}
|
192
|
-
|
193
|
-
@Override
|
194
|
-
public SettableBeanProperty[] getFromObjectArguments() {
|
195
|
-
return _constructorArguments;
|
196
|
-
}
|
197
|
-
|
198
|
-
/*
|
199
|
-
/**********************************************************
|
200
|
-
/* Public API implementation; instantiation from JSON Object
|
201
|
-
/**********************************************************
|
202
|
-
*/
|
203
|
-
|
204
|
-
@Override
|
205
|
-
public Object createUsingDefault()
|
206
|
-
throws IOException, JsonProcessingException
|
207
|
-
{
|
208
|
-
if (_defaultCreator == null) { // sanity-check; caller should check
|
209
|
-
throw new IllegalStateException("No default constructor for "+getValueTypeDesc());
|
210
|
-
}
|
211
|
-
try {
|
212
|
-
return _defaultCreator.call();
|
213
|
-
} catch (ExceptionInInitializerError e) {
|
214
|
-
throw wrapException(e);
|
215
|
-
} catch (Exception e) {
|
216
|
-
throw wrapException(e);
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
@Override
|
221
|
-
public Object createFromObjectWith(Object[] args)
|
222
|
-
throws IOException, JsonProcessingException
|
223
|
-
{
|
224
|
-
if (_withArgsCreator == null) { // sanity-check; caller should check
|
225
|
-
throw new IllegalStateException("No with-args constructor for "+getValueTypeDesc());
|
226
|
-
}
|
227
|
-
try {
|
228
|
-
return _withArgsCreator.call(args);
|
229
|
-
} catch (ExceptionInInitializerError e) {
|
230
|
-
throw wrapException(e);
|
231
|
-
} catch (Exception e) {
|
232
|
-
throw wrapException(e);
|
233
|
-
}
|
234
|
-
}
|
235
|
-
|
236
|
-
@Override
|
237
|
-
public Object createUsingDelegate(Object delegate)
|
238
|
-
throws IOException, JsonProcessingException
|
239
|
-
{
|
240
|
-
if (_delegateCreator == null) { // sanity-check; caller should check
|
241
|
-
throw new IllegalStateException("No delegate constructor for "+getValueTypeDesc());
|
242
|
-
}
|
243
|
-
try {
|
244
|
-
return _delegateCreator.call1(delegate);
|
245
|
-
} catch (ExceptionInInitializerError e) {
|
246
|
-
throw wrapException(e);
|
247
|
-
} catch (Exception e) {
|
248
|
-
throw wrapException(e);
|
249
|
-
}
|
250
|
-
}
|
251
|
-
|
252
|
-
/*
|
253
|
-
/**********************************************************
|
254
|
-
/* Public API implementation; instantiation from JSON scalars
|
255
|
-
/**********************************************************
|
256
|
-
*/
|
257
|
-
|
258
|
-
@Override
|
259
|
-
public Object createFromString(String value) throws IOException, JsonProcessingException
|
260
|
-
{
|
261
|
-
if (_fromStringCreator != null) {
|
262
|
-
try {
|
263
|
-
return _fromStringCreator.call1(value);
|
264
|
-
} catch (Exception e) {
|
265
|
-
throw wrapException(e);
|
266
|
-
}
|
267
|
-
}
|
268
|
-
return _createFromStringFallbacks(value);
|
269
|
-
}
|
270
|
-
|
271
|
-
@Override
|
272
|
-
public Object createFromInt(int value) throws IOException, JsonProcessingException
|
273
|
-
{
|
274
|
-
try {
|
275
|
-
// First: "native" int methods work best:
|
276
|
-
if (_fromIntCreator != null) {
|
277
|
-
return _fromIntCreator.call1(Integer.valueOf(value));
|
278
|
-
}
|
279
|
-
// but if not, can do widening conversion
|
280
|
-
if (_fromLongCreator != null) {
|
281
|
-
return _fromLongCreator.call1(Long.valueOf(value));
|
282
|
-
}
|
283
|
-
} catch (Exception e) {
|
284
|
-
throw wrapException(e);
|
285
|
-
}
|
286
|
-
throw new JsonMappingException("Can not instantiate value of type "+getValueTypeDesc()
|
287
|
-
+" from JSON integral number; no single-int-arg constructor/factory method");
|
288
|
-
}
|
289
|
-
|
290
|
-
@Override
|
291
|
-
public Object createFromLong(long value) throws IOException, JsonProcessingException
|
292
|
-
{
|
293
|
-
try {
|
294
|
-
if (_fromLongCreator != null) {
|
295
|
-
return _fromLongCreator.call1(Long.valueOf(value));
|
296
|
-
}
|
297
|
-
} catch (Exception e) {
|
298
|
-
throw wrapException(e);
|
299
|
-
}
|
300
|
-
throw new JsonMappingException("Can not instantiate value of type "+getValueTypeDesc()
|
301
|
-
+" from JSON long integral number; no single-long-arg constructor/factory method");
|
302
|
-
}
|
303
|
-
|
304
|
-
@Override
|
305
|
-
public Object createFromDouble(double value) throws IOException, JsonProcessingException
|
306
|
-
{
|
307
|
-
try {
|
308
|
-
if (_fromDoubleCreator != null) {
|
309
|
-
return _fromDoubleCreator.call1(Double.valueOf(value));
|
310
|
-
}
|
311
|
-
} catch (Exception e) {
|
312
|
-
throw wrapException(e);
|
313
|
-
}
|
314
|
-
throw new JsonMappingException("Can not instantiate value of type "+getValueTypeDesc()
|
315
|
-
+" from JSON floating-point number; no one-double/Double-arg constructor/factory method");
|
316
|
-
}
|
317
|
-
|
318
|
-
@Override
|
319
|
-
public Object createFromBoolean(boolean value) throws IOException, JsonProcessingException
|
320
|
-
{
|
321
|
-
try {
|
322
|
-
if (_fromBooleanCreator != null) {
|
323
|
-
return _fromBooleanCreator.call1(Boolean.valueOf(value));
|
324
|
-
}
|
325
|
-
} catch (Exception e) {
|
326
|
-
throw wrapException(e);
|
327
|
-
}
|
328
|
-
throw new JsonMappingException("Can not instantiate value of type "+getValueTypeDesc()
|
329
|
-
+" from JSON boolean value; no single-boolean/Boolean-arg constructor/factory method");
|
330
|
-
}
|
331
|
-
|
332
|
-
/*
|
333
|
-
/**********************************************************
|
334
|
-
/* Extended API: configuration mutators, accessors
|
335
|
-
/**********************************************************
|
336
|
-
*/
|
337
|
-
|
338
|
-
@Override
|
339
|
-
public AnnotatedWithParams getDelegateCreator() {
|
340
|
-
return _delegateCreator;
|
341
|
-
}
|
342
|
-
|
343
|
-
@Override
|
344
|
-
public AnnotatedWithParams getDefaultCreator() {
|
345
|
-
return _defaultCreator;
|
346
|
-
}
|
347
|
-
|
348
|
-
@Override
|
349
|
-
public AnnotatedWithParams getWithArgsCreator() {
|
350
|
-
return _withArgsCreator;
|
351
|
-
}
|
352
|
-
|
353
|
-
/*
|
354
|
-
/**********************************************************
|
355
|
-
/* Internal methods
|
356
|
-
/**********************************************************
|
357
|
-
*/
|
358
|
-
|
359
|
-
protected Object _createFromStringFallbacks(String value) throws IOException, JsonProcessingException
|
360
|
-
{
|
361
|
-
/* 28-Sep-2011, tatu: Ok this is not clean at all; but since there are legacy
|
362
|
-
* systems that expect conversions in some cases, let's just add a minimal
|
363
|
-
* patch (note: same could conceivably be used for numbers too).
|
364
|
-
*/
|
365
|
-
if (_fromBooleanCreator != null) {
|
366
|
-
String str = value.trim();
|
367
|
-
if ("true".equals(str)) {
|
368
|
-
return createFromBoolean(true);
|
369
|
-
}
|
370
|
-
if ("false".equals(str)) {
|
371
|
-
return createFromBoolean(false);
|
372
|
-
}
|
373
|
-
}
|
374
|
-
|
375
|
-
// and finally, empty Strings might be accepted as null Object...
|
376
|
-
if (_cfgEmptyStringsAsObjects && value.length() == 0) {
|
377
|
-
return null;
|
378
|
-
}
|
379
|
-
throw new JsonMappingException("Can not instantiate value of type "+getValueTypeDesc()
|
380
|
-
+" from JSON String; no single-String constructor/factory method");
|
381
|
-
}
|
382
|
-
|
383
|
-
protected JsonMappingException wrapException(Throwable t)
|
384
|
-
{
|
385
|
-
while (t.getCause() != null) {
|
386
|
-
t = t.getCause();
|
387
|
-
}
|
388
|
-
return new JsonMappingException("Instantiation of "+getValueTypeDesc()+" value failed: "+t.getMessage(), t);
|
389
|
-
}
|
390
|
-
}
|
391
|
-
|
392
|
-
|
@@ -1,227 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.util.Collection;
|
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.*;
|
10
|
-
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
11
|
-
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
|
12
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedWithParams;
|
13
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
14
|
-
|
15
|
-
/**
|
16
|
-
* @since 1.9 (moved from higher-level package)
|
17
|
-
*/
|
18
|
-
@JacksonStdImpl
|
19
|
-
public final class StringCollectionDeserializer
|
20
|
-
extends ContainerDeserializerBase<Collection<String>>
|
21
|
-
implements ResolvableDeserializer
|
22
|
-
{
|
23
|
-
// // Configuration
|
24
|
-
|
25
|
-
protected final JavaType _collectionType;
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Value deserializer; needed even if it is the standard String
|
29
|
-
* deserializer
|
30
|
-
*/
|
31
|
-
protected final JsonDeserializer<String> _valueDeserializer;
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Flag that indicates whether value deserializer is the standard
|
35
|
-
* Jackson-provided one; if it is, we can use more efficient
|
36
|
-
* handling.
|
37
|
-
*/
|
38
|
-
protected final boolean _isDefaultDeserializer;
|
39
|
-
|
40
|
-
// // Instance construction settings:
|
41
|
-
|
42
|
-
/**
|
43
|
-
* @since 1.9
|
44
|
-
*/
|
45
|
-
protected final ValueInstantiator _valueInstantiator;
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Deserializer that is used iff delegate-based creator is
|
49
|
-
* to be used for deserializing from JSON Object.
|
50
|
-
*/
|
51
|
-
protected JsonDeserializer<Object> _delegateDeserializer;
|
52
|
-
|
53
|
-
// NOTE: no PropertyBasedCreator, as JSON Arrays have no properties
|
54
|
-
|
55
|
-
/*
|
56
|
-
/**********************************************************
|
57
|
-
/* Life-cycle
|
58
|
-
/**********************************************************
|
59
|
-
*/
|
60
|
-
|
61
|
-
@SuppressWarnings("unchecked")
|
62
|
-
public StringCollectionDeserializer(JavaType collectionType, JsonDeserializer<?> valueDeser,
|
63
|
-
ValueInstantiator valueInstantiator)
|
64
|
-
{
|
65
|
-
super(collectionType.getRawClass());
|
66
|
-
_collectionType = collectionType;
|
67
|
-
_valueDeserializer = (JsonDeserializer<String>) valueDeser;
|
68
|
-
_valueInstantiator = valueInstantiator;
|
69
|
-
_isDefaultDeserializer = isDefaultSerializer(valueDeser);
|
70
|
-
}
|
71
|
-
|
72
|
-
/**
|
73
|
-
* Copy-constructor that can be used by sub-classes to allow
|
74
|
-
* copy-on-write styling copying of settings of an existing instance.
|
75
|
-
*
|
76
|
-
* @since 1.9
|
77
|
-
*/
|
78
|
-
protected StringCollectionDeserializer(StringCollectionDeserializer src)
|
79
|
-
{
|
80
|
-
super(src._valueClass);
|
81
|
-
_collectionType = src._collectionType;
|
82
|
-
_valueDeserializer = src._valueDeserializer;
|
83
|
-
_valueInstantiator = src._valueInstantiator;
|
84
|
-
_isDefaultDeserializer = src._isDefaultDeserializer;
|
85
|
-
}
|
86
|
-
|
87
|
-
/*
|
88
|
-
/**********************************************************
|
89
|
-
/* Validation, post-processing (ResolvableDeserializer)
|
90
|
-
/**********************************************************
|
91
|
-
*/
|
92
|
-
|
93
|
-
/**
|
94
|
-
* Method called to finalize setup of this deserializer,
|
95
|
-
* after deserializer itself has been registered. This
|
96
|
-
* is needed to handle recursive and transitive dependencies.
|
97
|
-
*/
|
98
|
-
@Override
|
99
|
-
public void resolve(DeserializationConfig config, DeserializerProvider provider)
|
100
|
-
throws JsonMappingException
|
101
|
-
{
|
102
|
-
// May need to resolve types for delegate-based creators:
|
103
|
-
AnnotatedWithParams delegateCreator = _valueInstantiator.getDelegateCreator();
|
104
|
-
if (delegateCreator != null) {
|
105
|
-
JavaType delegateType = _valueInstantiator.getDelegateType();
|
106
|
-
// Need to create a temporary property to allow contextual deserializers:
|
107
|
-
BeanProperty.Std property = new BeanProperty.Std(null,
|
108
|
-
delegateType, null, delegateCreator);
|
109
|
-
_delegateDeserializer = findDeserializer(config, provider, delegateType, property);
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
/*
|
114
|
-
/**********************************************************
|
115
|
-
/* ContainerDeserializerBase API
|
116
|
-
/**********************************************************
|
117
|
-
*/
|
118
|
-
|
119
|
-
@Override
|
120
|
-
public JavaType getContentType() {
|
121
|
-
return _collectionType.getContentType();
|
122
|
-
}
|
123
|
-
|
124
|
-
@SuppressWarnings("unchecked")
|
125
|
-
@Override
|
126
|
-
public JsonDeserializer<Object> getContentDeserializer() {
|
127
|
-
JsonDeserializer<?> deser = _valueDeserializer;
|
128
|
-
return (JsonDeserializer<Object>) deser;
|
129
|
-
}
|
130
|
-
|
131
|
-
/*
|
132
|
-
/**********************************************************
|
133
|
-
/* JsonDeserializer API
|
134
|
-
/**********************************************************
|
135
|
-
*/
|
136
|
-
|
137
|
-
@SuppressWarnings("unchecked")
|
138
|
-
@Override
|
139
|
-
public Collection<String> deserialize(JsonParser jp, DeserializationContext ctxt)
|
140
|
-
throws IOException, JsonProcessingException
|
141
|
-
{
|
142
|
-
if (_delegateDeserializer != null) {
|
143
|
-
return (Collection<String>) _valueInstantiator.createUsingDelegate(_delegateDeserializer.deserialize(jp, ctxt));
|
144
|
-
}
|
145
|
-
final Collection<String> result = (Collection<String>) _valueInstantiator.createUsingDefault();
|
146
|
-
return deserialize(jp, ctxt, result);
|
147
|
-
}
|
148
|
-
|
149
|
-
@Override
|
150
|
-
public Collection<String> deserialize(JsonParser jp, DeserializationContext ctxt,
|
151
|
-
Collection<String> result)
|
152
|
-
throws IOException, JsonProcessingException
|
153
|
-
{
|
154
|
-
// Ok: must point to START_ARRAY
|
155
|
-
if (!jp.isExpectedStartArrayToken()) {
|
156
|
-
return handleNonArray(jp, ctxt, result);
|
157
|
-
}
|
158
|
-
|
159
|
-
if (!_isDefaultDeserializer) {
|
160
|
-
return deserializeUsingCustom(jp, ctxt, result);
|
161
|
-
}
|
162
|
-
JsonToken t;
|
163
|
-
|
164
|
-
while ((t = jp.nextToken()) != JsonToken.END_ARRAY) {
|
165
|
-
result.add((t == JsonToken.VALUE_NULL) ? null : jp.getText());
|
166
|
-
}
|
167
|
-
return result;
|
168
|
-
}
|
169
|
-
|
170
|
-
private Collection<String> deserializeUsingCustom(JsonParser jp, DeserializationContext ctxt,
|
171
|
-
Collection<String> result)
|
172
|
-
throws IOException, JsonProcessingException
|
173
|
-
{
|
174
|
-
JsonToken t;
|
175
|
-
final JsonDeserializer<String> deser = _valueDeserializer;
|
176
|
-
|
177
|
-
while ((t = jp.nextToken()) != JsonToken.END_ARRAY) {
|
178
|
-
String value;
|
179
|
-
|
180
|
-
if (t == JsonToken.VALUE_NULL) {
|
181
|
-
value = null;
|
182
|
-
} else {
|
183
|
-
value = deser.deserialize(jp, ctxt);
|
184
|
-
}
|
185
|
-
result.add(value);
|
186
|
-
}
|
187
|
-
return result;
|
188
|
-
}
|
189
|
-
|
190
|
-
@Override
|
191
|
-
public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
|
192
|
-
TypeDeserializer typeDeserializer)
|
193
|
-
throws IOException, JsonProcessingException
|
194
|
-
{
|
195
|
-
// In future could check current token... for now this should be enough:
|
196
|
-
return typeDeserializer.deserializeTypedFromArray(jp, ctxt);
|
197
|
-
}
|
198
|
-
|
199
|
-
/**
|
200
|
-
* Helper method called when current token is no START_ARRAY. Will either
|
201
|
-
* throw an exception, or try to handle value as if member of implicit
|
202
|
-
* array, depending on configuration.
|
203
|
-
*/
|
204
|
-
private final Collection<String> handleNonArray(JsonParser jp, DeserializationContext ctxt,
|
205
|
-
Collection<String> result)
|
206
|
-
throws IOException, JsonProcessingException
|
207
|
-
{
|
208
|
-
// [JACKSON-526]: implicit arrays from single values?
|
209
|
-
if (!ctxt.isEnabled(DeserializationConfig.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)) {
|
210
|
-
throw ctxt.mappingException(_collectionType.getRawClass());
|
211
|
-
}
|
212
|
-
// Strings are one of "native" (intrinsic) types, so there's never type deserializer involved
|
213
|
-
JsonDeserializer<String> valueDes = _valueDeserializer;
|
214
|
-
JsonToken t = jp.getCurrentToken();
|
215
|
-
|
216
|
-
String value;
|
217
|
-
|
218
|
-
if (t == JsonToken.VALUE_NULL) {
|
219
|
-
value = null;
|
220
|
-
} else {
|
221
|
-
value = (valueDes == null) ? jp.getText() : valueDes.deserialize(jp, ctxt);
|
222
|
-
}
|
223
|
-
result.add(value);
|
224
|
-
return result;
|
225
|
-
}
|
226
|
-
|
227
|
-
}
|