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
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.node;
|
2
|
-
|
3
|
-
import java.math.BigDecimal;
|
4
|
-
import java.math.BigInteger;
|
5
|
-
|
6
|
-
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
-
|
8
|
-
/**
|
9
|
-
* Intermediate value node used for numeric nodes.
|
10
|
-
*/
|
11
|
-
public abstract class NumericNode
|
12
|
-
extends ValueNode
|
13
|
-
{
|
14
|
-
protected NumericNode() { }
|
15
|
-
|
16
|
-
@Override
|
17
|
-
public final boolean isNumber() { return true; }
|
18
|
-
|
19
|
-
// // // Let's re-abstract so sub-classes handle them
|
20
|
-
|
21
|
-
@Override
|
22
|
-
public abstract JsonParser.NumberType getNumberType();
|
23
|
-
|
24
|
-
@Override
|
25
|
-
public abstract Number getNumberValue();
|
26
|
-
@Override
|
27
|
-
public abstract int getIntValue();
|
28
|
-
@Override
|
29
|
-
public abstract long getLongValue();
|
30
|
-
@Override
|
31
|
-
public abstract double getDoubleValue();
|
32
|
-
@Override
|
33
|
-
public abstract BigDecimal getDecimalValue();
|
34
|
-
@Override
|
35
|
-
public abstract BigInteger getBigIntegerValue();
|
36
|
-
|
37
|
-
/*
|
38
|
-
/**********************************************************
|
39
|
-
/* General type coercions
|
40
|
-
/**********************************************************
|
41
|
-
*/
|
42
|
-
|
43
|
-
@Override
|
44
|
-
public abstract String asText();
|
45
|
-
|
46
|
-
@Override
|
47
|
-
public int asInt() {
|
48
|
-
return getIntValue();
|
49
|
-
}
|
50
|
-
@Override
|
51
|
-
public int asInt(int defaultValue) {
|
52
|
-
return getIntValue();
|
53
|
-
}
|
54
|
-
|
55
|
-
@Override
|
56
|
-
public long asLong() {
|
57
|
-
return getLongValue();
|
58
|
-
}
|
59
|
-
@Override
|
60
|
-
public long asLong(long defaultValue) {
|
61
|
-
return getLongValue();
|
62
|
-
}
|
63
|
-
|
64
|
-
@Override
|
65
|
-
public double asDouble() {
|
66
|
-
return getDoubleValue();
|
67
|
-
}
|
68
|
-
@Override
|
69
|
-
public double asDouble(double defaultValue) {
|
70
|
-
return getDoubleValue();
|
71
|
-
}
|
72
|
-
}
|
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java
DELETED
@@ -1,696 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.node;
|
2
|
-
|
3
|
-
import java.io.IOException;
|
4
|
-
import java.math.BigDecimal;
|
5
|
-
import java.util.*;
|
6
|
-
|
7
|
-
import sh.calaba.org.codehaus.jackson.*;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
|
9
|
-
import sh.calaba.org.codehaus.jackson.map.TypeSerializer;
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Node that maps to JSON Object structures in JSON content.
|
13
|
-
*/
|
14
|
-
public class ObjectNode
|
15
|
-
extends ContainerNode
|
16
|
-
{
|
17
|
-
protected LinkedHashMap<String, JsonNode> _children = null;
|
18
|
-
|
19
|
-
public ObjectNode(JsonNodeFactory nc) { super(nc); }
|
20
|
-
|
21
|
-
/*
|
22
|
-
/**********************************************************
|
23
|
-
/* Implementation of core JsonNode API
|
24
|
-
/**********************************************************
|
25
|
-
*/
|
26
|
-
|
27
|
-
@Override public JsonToken asToken() { return JsonToken.START_OBJECT; }
|
28
|
-
|
29
|
-
@Override
|
30
|
-
public boolean isObject() { return true; }
|
31
|
-
|
32
|
-
@Override
|
33
|
-
public int size() {
|
34
|
-
return (_children == null) ? 0 : _children.size();
|
35
|
-
}
|
36
|
-
|
37
|
-
@Override
|
38
|
-
public Iterator<JsonNode> getElements()
|
39
|
-
{
|
40
|
-
return (_children == null) ? NoNodesIterator.instance() : _children.values().iterator();
|
41
|
-
}
|
42
|
-
|
43
|
-
@Override
|
44
|
-
public JsonNode get(int index) { return null; }
|
45
|
-
|
46
|
-
@Override
|
47
|
-
public JsonNode get(String fieldName)
|
48
|
-
{
|
49
|
-
if (_children != null) {
|
50
|
-
return _children.get(fieldName);
|
51
|
-
}
|
52
|
-
return null;
|
53
|
-
}
|
54
|
-
|
55
|
-
@Override
|
56
|
-
public Iterator<String> getFieldNames()
|
57
|
-
{
|
58
|
-
return (_children == null) ? NoStringsIterator.instance() : _children.keySet().iterator();
|
59
|
-
}
|
60
|
-
|
61
|
-
@Override
|
62
|
-
public JsonNode path(int index)
|
63
|
-
{
|
64
|
-
return MissingNode.getInstance();
|
65
|
-
}
|
66
|
-
|
67
|
-
@Override
|
68
|
-
public JsonNode path(String fieldName)
|
69
|
-
{
|
70
|
-
if (_children != null) {
|
71
|
-
JsonNode n = _children.get(fieldName);
|
72
|
-
if (n != null) {
|
73
|
-
return n;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
return MissingNode.getInstance();
|
77
|
-
}
|
78
|
-
|
79
|
-
/**
|
80
|
-
* Method to use for accessing all fields (with both names
|
81
|
-
* and values) of this JSON Object.
|
82
|
-
*/
|
83
|
-
@Override
|
84
|
-
public Iterator<Map.Entry<String, JsonNode>> getFields()
|
85
|
-
{
|
86
|
-
if (_children == null) {
|
87
|
-
return NoFieldsIterator.instance;
|
88
|
-
}
|
89
|
-
return _children.entrySet().iterator();
|
90
|
-
}
|
91
|
-
|
92
|
-
@Override
|
93
|
-
public ObjectNode with(String propertyName)
|
94
|
-
{
|
95
|
-
if (_children == null) {
|
96
|
-
_children = new LinkedHashMap<String, JsonNode>();
|
97
|
-
} else {
|
98
|
-
JsonNode n = _children.get(propertyName);
|
99
|
-
if (n != null) {
|
100
|
-
if (n instanceof ObjectNode) {
|
101
|
-
return (ObjectNode) n;
|
102
|
-
}
|
103
|
-
throw new UnsupportedOperationException("Property '"+propertyName
|
104
|
-
+"' has value that is not of type ObjectNode (but "
|
105
|
-
+n.getClass().getName()+")");
|
106
|
-
}
|
107
|
-
}
|
108
|
-
ObjectNode result = objectNode();
|
109
|
-
_children.put(propertyName, result);
|
110
|
-
return result;
|
111
|
-
}
|
112
|
-
|
113
|
-
/*
|
114
|
-
/**********************************************************
|
115
|
-
/* Public API, finding value nodes
|
116
|
-
/**********************************************************
|
117
|
-
*/
|
118
|
-
|
119
|
-
@Override
|
120
|
-
public JsonNode findValue(String fieldName)
|
121
|
-
{
|
122
|
-
if (_children != null) {
|
123
|
-
for (Map.Entry<String, JsonNode> entry : _children.entrySet()) {
|
124
|
-
if (fieldName.equals(entry.getKey())) {
|
125
|
-
return entry.getValue();
|
126
|
-
}
|
127
|
-
JsonNode value = entry.getValue().findValue(fieldName);
|
128
|
-
if (value != null) {
|
129
|
-
return value;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
return null;
|
134
|
-
}
|
135
|
-
|
136
|
-
@Override
|
137
|
-
public List<JsonNode> findValues(String fieldName, List<JsonNode> foundSoFar)
|
138
|
-
{
|
139
|
-
if (_children != null) {
|
140
|
-
for (Map.Entry<String, JsonNode> entry : _children.entrySet()) {
|
141
|
-
if (fieldName.equals(entry.getKey())) {
|
142
|
-
if (foundSoFar == null) {
|
143
|
-
foundSoFar = new ArrayList<JsonNode>();
|
144
|
-
}
|
145
|
-
foundSoFar.add(entry.getValue());
|
146
|
-
} else { // only add children if parent not added
|
147
|
-
foundSoFar = entry.getValue().findValues(fieldName, foundSoFar);
|
148
|
-
}
|
149
|
-
}
|
150
|
-
}
|
151
|
-
return foundSoFar;
|
152
|
-
}
|
153
|
-
|
154
|
-
@Override
|
155
|
-
public List<String> findValuesAsText(String fieldName, List<String> foundSoFar)
|
156
|
-
{
|
157
|
-
if (_children != null) {
|
158
|
-
for (Map.Entry<String, JsonNode> entry : _children.entrySet()) {
|
159
|
-
if (fieldName.equals(entry.getKey())) {
|
160
|
-
if (foundSoFar == null) {
|
161
|
-
foundSoFar = new ArrayList<String>();
|
162
|
-
}
|
163
|
-
foundSoFar.add(entry.getValue().asText());
|
164
|
-
} else { // only add children if parent not added
|
165
|
-
foundSoFar = entry.getValue().findValuesAsText(fieldName, foundSoFar);
|
166
|
-
}
|
167
|
-
}
|
168
|
-
}
|
169
|
-
return foundSoFar;
|
170
|
-
}
|
171
|
-
|
172
|
-
@Override
|
173
|
-
public ObjectNode findParent(String fieldName)
|
174
|
-
{
|
175
|
-
if (_children != null) {
|
176
|
-
for (Map.Entry<String, JsonNode> entry : _children.entrySet()) {
|
177
|
-
if (fieldName.equals(entry.getKey())) {
|
178
|
-
return this;
|
179
|
-
}
|
180
|
-
JsonNode value = entry.getValue().findParent(fieldName);
|
181
|
-
if (value != null) {
|
182
|
-
return (ObjectNode) value;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
}
|
186
|
-
return null;
|
187
|
-
}
|
188
|
-
|
189
|
-
@Override
|
190
|
-
public List<JsonNode> findParents(String fieldName, List<JsonNode> foundSoFar)
|
191
|
-
{
|
192
|
-
if (_children != null) {
|
193
|
-
for (Map.Entry<String, JsonNode> entry : _children.entrySet()) {
|
194
|
-
if (fieldName.equals(entry.getKey())) {
|
195
|
-
if (foundSoFar == null) {
|
196
|
-
foundSoFar = new ArrayList<JsonNode>();
|
197
|
-
}
|
198
|
-
foundSoFar.add(this);
|
199
|
-
} else { // only add children if parent not added
|
200
|
-
foundSoFar = entry.getValue().findParents(fieldName, foundSoFar);
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
return foundSoFar;
|
205
|
-
}
|
206
|
-
|
207
|
-
/*
|
208
|
-
/**********************************************************
|
209
|
-
/* Public API, serialization
|
210
|
-
/**********************************************************
|
211
|
-
*/
|
212
|
-
|
213
|
-
/**
|
214
|
-
* Method that can be called to serialize this node and
|
215
|
-
* all of its descendants using specified JSON generator.
|
216
|
-
*/
|
217
|
-
@Override
|
218
|
-
public final void serialize(JsonGenerator jg, SerializerProvider provider)
|
219
|
-
throws IOException, JsonProcessingException
|
220
|
-
{
|
221
|
-
jg.writeStartObject();
|
222
|
-
if (_children != null) {
|
223
|
-
for (Map.Entry<String, JsonNode> en : _children.entrySet()) {
|
224
|
-
jg.writeFieldName(en.getKey());
|
225
|
-
/* 17-Feb-2009, tatu: Can we trust that all nodes will always
|
226
|
-
* extend BaseJsonNode? Or if not, at least implement
|
227
|
-
* JsonSerializable? Let's start with former, change if
|
228
|
-
* we must.
|
229
|
-
*/
|
230
|
-
((BaseJsonNode) en.getValue()).serialize(jg, provider);
|
231
|
-
}
|
232
|
-
}
|
233
|
-
jg.writeEndObject();
|
234
|
-
}
|
235
|
-
|
236
|
-
@Override
|
237
|
-
public void serializeWithType(JsonGenerator jg, SerializerProvider provider,
|
238
|
-
TypeSerializer typeSer)
|
239
|
-
throws IOException, JsonProcessingException
|
240
|
-
{
|
241
|
-
typeSer.writeTypePrefixForObject(this, jg);
|
242
|
-
if (_children != null) {
|
243
|
-
for (Map.Entry<String, JsonNode> en : _children.entrySet()) {
|
244
|
-
jg.writeFieldName(en.getKey());
|
245
|
-
((BaseJsonNode) en.getValue()).serialize(jg, provider);
|
246
|
-
}
|
247
|
-
}
|
248
|
-
typeSer.writeTypeSuffixForObject(this, jg);
|
249
|
-
}
|
250
|
-
|
251
|
-
/*
|
252
|
-
/**********************************************************
|
253
|
-
/* Extended ObjectNode API, mutators, generic
|
254
|
-
/**********************************************************
|
255
|
-
*/
|
256
|
-
|
257
|
-
/**
|
258
|
-
* Method that will set specified field, replacing old value,
|
259
|
-
* if any.
|
260
|
-
*
|
261
|
-
* @param value to set field to; if null, will be converted
|
262
|
-
* to a {@link NullNode} first (to remove field entry, call
|
263
|
-
* {@link #remove} instead)
|
264
|
-
*
|
265
|
-
* @return Old value of the field, if any; null if there was no
|
266
|
-
* old value.
|
267
|
-
*/
|
268
|
-
public JsonNode put(String fieldName, JsonNode value)
|
269
|
-
{
|
270
|
-
if (value == null) { // let's not store 'raw' nulls but nodes
|
271
|
-
value = nullNode();
|
272
|
-
}
|
273
|
-
return _put(fieldName, value);
|
274
|
-
}
|
275
|
-
|
276
|
-
/**
|
277
|
-
* Method for removing field entry from this ObjectNode.
|
278
|
-
* Will return value of the field, if such field existed;
|
279
|
-
* null if not.
|
280
|
-
*/
|
281
|
-
public JsonNode remove(String fieldName)
|
282
|
-
{
|
283
|
-
if (_children != null) {
|
284
|
-
return _children.remove(fieldName);
|
285
|
-
}
|
286
|
-
return null;
|
287
|
-
}
|
288
|
-
|
289
|
-
/**
|
290
|
-
* Method for removing specified field properties out of
|
291
|
-
* this ObjectNode.
|
292
|
-
*
|
293
|
-
* @param fieldNames Names of fields to remove
|
294
|
-
*
|
295
|
-
* @return This ObjectNode after removing entries
|
296
|
-
*
|
297
|
-
* @since 1.6
|
298
|
-
*/
|
299
|
-
public ObjectNode remove(Collection<String> fieldNames)
|
300
|
-
{
|
301
|
-
if (_children != null) {
|
302
|
-
for (String fieldName : fieldNames) {
|
303
|
-
_children.remove(fieldName);
|
304
|
-
}
|
305
|
-
}
|
306
|
-
return this;
|
307
|
-
}
|
308
|
-
|
309
|
-
/**
|
310
|
-
* Method for removing all field properties, such that this
|
311
|
-
* ObjectNode will contain no properties after call.
|
312
|
-
*/
|
313
|
-
@Override
|
314
|
-
public ObjectNode removeAll()
|
315
|
-
{
|
316
|
-
_children = null;
|
317
|
-
return this;
|
318
|
-
}
|
319
|
-
|
320
|
-
/**
|
321
|
-
* Method for adding given properties to this object node, overriding
|
322
|
-
* any existing values for those properties.
|
323
|
-
*
|
324
|
-
* @param properties Properties to add
|
325
|
-
*
|
326
|
-
* @return This node (to allow chaining)
|
327
|
-
*
|
328
|
-
* @since 1.3
|
329
|
-
*/
|
330
|
-
public JsonNode putAll(Map<String,JsonNode> properties)
|
331
|
-
{
|
332
|
-
if (_children == null) {
|
333
|
-
_children = new LinkedHashMap<String, JsonNode>(properties);
|
334
|
-
} else {
|
335
|
-
for (Map.Entry<String, JsonNode> en : properties.entrySet()) {
|
336
|
-
JsonNode n = en.getValue();
|
337
|
-
if (n == null) {
|
338
|
-
n = nullNode();
|
339
|
-
}
|
340
|
-
_children.put(en.getKey(), n);
|
341
|
-
}
|
342
|
-
}
|
343
|
-
return this;
|
344
|
-
}
|
345
|
-
|
346
|
-
/**
|
347
|
-
* Method for adding all properties of the given Object, overriding
|
348
|
-
* any existing values for those properties.
|
349
|
-
*
|
350
|
-
* @param other Object of which properties to add to this object
|
351
|
-
*
|
352
|
-
* @return This node (to allow chaining)
|
353
|
-
*
|
354
|
-
* @since 1.3
|
355
|
-
*/
|
356
|
-
public JsonNode putAll(ObjectNode other)
|
357
|
-
{
|
358
|
-
int len = other.size();
|
359
|
-
if (len > 0) {
|
360
|
-
if (_children == null) {
|
361
|
-
_children = new LinkedHashMap<String, JsonNode>(len);
|
362
|
-
}
|
363
|
-
other.putContentsTo(_children);
|
364
|
-
}
|
365
|
-
return this;
|
366
|
-
}
|
367
|
-
|
368
|
-
/**
|
369
|
-
* Method for removing all field properties out of this ObjectNode
|
370
|
-
* <b>except</b> for ones specified in argument.
|
371
|
-
*
|
372
|
-
* @param fieldNames Fields to <b>retain</b> in this ObjectNode
|
373
|
-
*
|
374
|
-
* @return This ObjectNode (to allow call chaining)
|
375
|
-
*
|
376
|
-
* @since 1.6
|
377
|
-
*/
|
378
|
-
public ObjectNode retain(Collection<String> fieldNames)
|
379
|
-
{
|
380
|
-
if (_children != null) {
|
381
|
-
Iterator<Map.Entry<String,JsonNode>> entries = _children.entrySet().iterator();
|
382
|
-
while (entries.hasNext()) {
|
383
|
-
Map.Entry<String, JsonNode> entry = entries.next();
|
384
|
-
if (!fieldNames.contains(entry.getKey())) {
|
385
|
-
entries.remove();
|
386
|
-
}
|
387
|
-
}
|
388
|
-
}
|
389
|
-
return this;
|
390
|
-
}
|
391
|
-
|
392
|
-
/**
|
393
|
-
* Method for removing all field properties out of this ObjectNode
|
394
|
-
* <b>except</b> for ones specified in argument.
|
395
|
-
*
|
396
|
-
* @param fieldNames Fields to <b>retain</b> in this ObjectNode
|
397
|
-
*
|
398
|
-
* @return This ObjectNode (to allow call chaining)
|
399
|
-
*
|
400
|
-
* @since 1.6
|
401
|
-
*/
|
402
|
-
public ObjectNode retain(String... fieldNames) {
|
403
|
-
return retain(Arrays.asList(fieldNames));
|
404
|
-
}
|
405
|
-
|
406
|
-
/*
|
407
|
-
/**********************************************************
|
408
|
-
/* Extended ObjectNode API, mutators, typed
|
409
|
-
/**********************************************************
|
410
|
-
*/
|
411
|
-
|
412
|
-
/**
|
413
|
-
* Method that will construct an ArrayNode and add it as a
|
414
|
-
* field of this ObjectNode, replacing old value, if any.
|
415
|
-
*
|
416
|
-
* @return Newly constructed ArrayNode (NOT the old value,
|
417
|
-
* which could be of any type)
|
418
|
-
*/
|
419
|
-
public ArrayNode putArray(String fieldName)
|
420
|
-
{
|
421
|
-
ArrayNode n = arrayNode();
|
422
|
-
_put(fieldName, n);
|
423
|
-
return n;
|
424
|
-
}
|
425
|
-
|
426
|
-
/**
|
427
|
-
* Method that will construct an ObjectNode and add it as a
|
428
|
-
* field of this ObjectNode, replacing old value, if any.
|
429
|
-
*
|
430
|
-
* @return Newly constructed ObjectNode (NOT the old value,
|
431
|
-
* which could be of any type)
|
432
|
-
*/
|
433
|
-
public ObjectNode putObject(String fieldName)
|
434
|
-
{
|
435
|
-
ObjectNode n = objectNode();
|
436
|
-
_put(fieldName, n);
|
437
|
-
return n;
|
438
|
-
}
|
439
|
-
|
440
|
-
public void putPOJO(String fieldName, Object pojo)
|
441
|
-
{
|
442
|
-
_put(fieldName, POJONode(pojo));
|
443
|
-
}
|
444
|
-
|
445
|
-
public void putNull(String fieldName)
|
446
|
-
{
|
447
|
-
_put(fieldName, nullNode());
|
448
|
-
}
|
449
|
-
|
450
|
-
/**
|
451
|
-
* Method for setting value of a field to specified numeric value.
|
452
|
-
*/
|
453
|
-
public void put(String fieldName, int v) { _put(fieldName, numberNode(v)); }
|
454
|
-
|
455
|
-
/**
|
456
|
-
* Alternative method that we need to avoid bumping into NPE issues
|
457
|
-
* with auto-unboxing.
|
458
|
-
*
|
459
|
-
* @since 1.9
|
460
|
-
*/
|
461
|
-
public void put(String fieldName, Integer value) {
|
462
|
-
if (value == null) {
|
463
|
-
_put(fieldName, nullNode());
|
464
|
-
} else {
|
465
|
-
_put(fieldName, numberNode(value.intValue()));
|
466
|
-
}
|
467
|
-
}
|
468
|
-
|
469
|
-
/**
|
470
|
-
* Method for setting value of a field to specified numeric value.
|
471
|
-
*/
|
472
|
-
public void put(String fieldName, long v) { _put(fieldName, numberNode(v)); }
|
473
|
-
|
474
|
-
/**
|
475
|
-
* Alternative method that we need to avoid bumping into NPE issues
|
476
|
-
* with auto-unboxing.
|
477
|
-
*
|
478
|
-
* @since 1.9
|
479
|
-
*/
|
480
|
-
public void put(String fieldName, Long value) {
|
481
|
-
if (value == null) {
|
482
|
-
_put(fieldName, nullNode());
|
483
|
-
} else {
|
484
|
-
_put(fieldName, numberNode(value.longValue()));
|
485
|
-
}
|
486
|
-
}
|
487
|
-
|
488
|
-
/**
|
489
|
-
* Method for setting value of a field to specified numeric value.
|
490
|
-
*/
|
491
|
-
public void put(String fieldName, float v) { _put(fieldName, numberNode(v)); }
|
492
|
-
|
493
|
-
/**
|
494
|
-
* Alternative method that we need to avoid bumping into NPE issues
|
495
|
-
* with auto-unboxing.
|
496
|
-
*
|
497
|
-
* @since 1.9
|
498
|
-
*/
|
499
|
-
public void put(String fieldName, Float value) {
|
500
|
-
if (value == null) {
|
501
|
-
_put(fieldName, nullNode());
|
502
|
-
} else {
|
503
|
-
_put(fieldName, numberNode(value.floatValue()));
|
504
|
-
}
|
505
|
-
}
|
506
|
-
|
507
|
-
/**
|
508
|
-
* Method for setting value of a field to specified numeric value.
|
509
|
-
*/
|
510
|
-
public void put(String fieldName, double v) { _put(fieldName, numberNode(v)); }
|
511
|
-
|
512
|
-
/**
|
513
|
-
* Alternative method that we need to avoid bumping into NPE issues
|
514
|
-
* with auto-unboxing.
|
515
|
-
*
|
516
|
-
* @since 1.9
|
517
|
-
*/
|
518
|
-
public void put(String fieldName, Double value) {
|
519
|
-
if (value == null) {
|
520
|
-
_put(fieldName, nullNode());
|
521
|
-
} else {
|
522
|
-
_put(fieldName, numberNode(value.doubleValue()));
|
523
|
-
}
|
524
|
-
}
|
525
|
-
|
526
|
-
/**
|
527
|
-
* Method for setting value of a field to specified numeric value.
|
528
|
-
*/
|
529
|
-
public void put(String fieldName, BigDecimal v) {
|
530
|
-
if (v == null) {
|
531
|
-
putNull(fieldName);
|
532
|
-
} else {
|
533
|
-
_put(fieldName, numberNode(v));
|
534
|
-
}
|
535
|
-
}
|
536
|
-
|
537
|
-
/**
|
538
|
-
* Method for setting value of a field to specified String value.
|
539
|
-
*/
|
540
|
-
public void put(String fieldName, String v) {
|
541
|
-
if (v == null) {
|
542
|
-
putNull(fieldName);
|
543
|
-
} else {
|
544
|
-
_put(fieldName, textNode(v));
|
545
|
-
}
|
546
|
-
}
|
547
|
-
|
548
|
-
/**
|
549
|
-
* Method for setting value of a field to specified String value.
|
550
|
-
*/
|
551
|
-
public void put(String fieldName, boolean v) { _put(fieldName, booleanNode(v)); }
|
552
|
-
|
553
|
-
/**
|
554
|
-
* Alternative method that we need to avoid bumping into NPE issues
|
555
|
-
* with auto-unboxing.
|
556
|
-
*
|
557
|
-
* @since 1.9
|
558
|
-
*/
|
559
|
-
public void put(String fieldName, Boolean value) {
|
560
|
-
if (value == null) {
|
561
|
-
_put(fieldName, nullNode());
|
562
|
-
} else {
|
563
|
-
_put(fieldName, booleanNode(value.booleanValue()));
|
564
|
-
}
|
565
|
-
}
|
566
|
-
|
567
|
-
/**
|
568
|
-
* Method for setting value of a field to specified binary value
|
569
|
-
*/
|
570
|
-
public void put(String fieldName, byte[] v) {
|
571
|
-
if (v == null) {
|
572
|
-
_put(fieldName, nullNode());
|
573
|
-
} else {
|
574
|
-
_put(fieldName, binaryNode(v));
|
575
|
-
}
|
576
|
-
}
|
577
|
-
|
578
|
-
/*
|
579
|
-
/**********************************************************
|
580
|
-
/* Package methods (for other node classes to use)
|
581
|
-
/**********************************************************
|
582
|
-
*/
|
583
|
-
|
584
|
-
/**
|
585
|
-
* @since 1.6
|
586
|
-
*/
|
587
|
-
protected void putContentsTo(Map<String,JsonNode> dst)
|
588
|
-
{
|
589
|
-
if (_children != null) {
|
590
|
-
for (Map.Entry<String,JsonNode> en : _children.entrySet()) {
|
591
|
-
dst.put(en.getKey(), en.getValue());
|
592
|
-
}
|
593
|
-
}
|
594
|
-
}
|
595
|
-
|
596
|
-
/*
|
597
|
-
/**********************************************************
|
598
|
-
/* Standard methods
|
599
|
-
/**********************************************************
|
600
|
-
*/
|
601
|
-
|
602
|
-
@Override
|
603
|
-
public boolean equals(Object o)
|
604
|
-
{
|
605
|
-
if (o == this) return true;
|
606
|
-
if (o == null) return false;
|
607
|
-
if (o.getClass() != getClass()) {
|
608
|
-
return false;
|
609
|
-
}
|
610
|
-
ObjectNode other = (ObjectNode) o;
|
611
|
-
if (other.size() != size()) {
|
612
|
-
return false;
|
613
|
-
}
|
614
|
-
if (_children != null) {
|
615
|
-
for (Map.Entry<String, JsonNode> en : _children.entrySet()) {
|
616
|
-
String key = en.getKey();
|
617
|
-
JsonNode value = en.getValue();
|
618
|
-
|
619
|
-
JsonNode otherValue = other.get(key);
|
620
|
-
|
621
|
-
if (otherValue == null || !otherValue.equals(value)) {
|
622
|
-
return false;
|
623
|
-
}
|
624
|
-
}
|
625
|
-
}
|
626
|
-
return true;
|
627
|
-
}
|
628
|
-
|
629
|
-
@Override
|
630
|
-
public int hashCode()
|
631
|
-
{
|
632
|
-
return (_children == null) ? -1 : _children.hashCode();
|
633
|
-
}
|
634
|
-
|
635
|
-
@Override
|
636
|
-
public String toString()
|
637
|
-
{
|
638
|
-
StringBuilder sb = new StringBuilder(32 + (size() << 4));
|
639
|
-
sb.append("{");
|
640
|
-
if (_children != null) {
|
641
|
-
int count = 0;
|
642
|
-
for (Map.Entry<String, JsonNode> en : _children.entrySet()) {
|
643
|
-
if (count > 0) {
|
644
|
-
sb.append(",");
|
645
|
-
}
|
646
|
-
++count;
|
647
|
-
TextNode.appendQuoted(sb, en.getKey());
|
648
|
-
sb.append(':');
|
649
|
-
sb.append(en.getValue().toString());
|
650
|
-
}
|
651
|
-
}
|
652
|
-
sb.append("}");
|
653
|
-
return sb.toString();
|
654
|
-
}
|
655
|
-
|
656
|
-
/*
|
657
|
-
/**********************************************************
|
658
|
-
/* Internal methods
|
659
|
-
/**********************************************************
|
660
|
-
*/
|
661
|
-
|
662
|
-
private final JsonNode _put(String fieldName, JsonNode value)
|
663
|
-
{
|
664
|
-
if (_children == null) {
|
665
|
-
_children = new LinkedHashMap<String, JsonNode>();
|
666
|
-
}
|
667
|
-
return _children.put(fieldName, value);
|
668
|
-
}
|
669
|
-
|
670
|
-
/*
|
671
|
-
/**********************************************************
|
672
|
-
/* Helper classes
|
673
|
-
/**********************************************************
|
674
|
-
*/
|
675
|
-
|
676
|
-
/**
|
677
|
-
* For efficiency, let's share the "no fields" iterator...
|
678
|
-
*/
|
679
|
-
protected static class NoFieldsIterator
|
680
|
-
implements Iterator<Map.Entry<String, JsonNode>>
|
681
|
-
{
|
682
|
-
final static NoFieldsIterator instance = new NoFieldsIterator();
|
683
|
-
|
684
|
-
private NoFieldsIterator() { }
|
685
|
-
|
686
|
-
@Override
|
687
|
-
public boolean hasNext() { return false; }
|
688
|
-
@Override
|
689
|
-
public Map.Entry<String,JsonNode> next() { throw new NoSuchElementException(); }
|
690
|
-
|
691
|
-
@Override
|
692
|
-
public void remove() { // or IllegalOperationException?
|
693
|
-
throw new IllegalStateException();
|
694
|
-
}
|
695
|
-
}
|
696
|
-
}
|