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,408 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.io;
|
2
|
-
|
3
|
-
import java.lang.ref.SoftReference;
|
4
|
-
|
5
|
-
import sh.calaba.org.codehaus.jackson.util.BufferRecycler;
|
6
|
-
import sh.calaba.org.codehaus.jackson.util.ByteArrayBuilder;
|
7
|
-
import sh.calaba.org.codehaus.jackson.util.CharTypes;
|
8
|
-
import sh.calaba.org.codehaus.jackson.util.TextBuffer;
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Helper class used for efficient encoding of JSON String values (including
|
12
|
-
* JSON field names) into Strings or UTF-8 byte arrays.
|
13
|
-
*<p>
|
14
|
-
* Note that methods in here are somewhat optimized, but not ridiculously so.
|
15
|
-
* Reason is that conversion method results are expected to be cached so that
|
16
|
-
* these methods will not be hot spots during normal operation.
|
17
|
-
*
|
18
|
-
* @since 1.6
|
19
|
-
*/
|
20
|
-
public final class JsonStringEncoder
|
21
|
-
{
|
22
|
-
private final static char[] HEX_CHARS = CharTypes.copyHexChars();
|
23
|
-
|
24
|
-
private final static byte[] HEX_BYTES = CharTypes.copyHexBytes();
|
25
|
-
|
26
|
-
private final static int SURR1_FIRST = 0xD800;
|
27
|
-
private final static int SURR1_LAST = 0xDBFF;
|
28
|
-
private final static int SURR2_FIRST = 0xDC00;
|
29
|
-
private final static int SURR2_LAST = 0xDFFF;
|
30
|
-
|
31
|
-
private final static int INT_BACKSLASH = '\\';
|
32
|
-
private final static int INT_U = 'u';
|
33
|
-
private final static int INT_0 = '0';
|
34
|
-
|
35
|
-
/**
|
36
|
-
* This <code>ThreadLocal</code> contains a {@link java.lang.ref.SoftRerefence}
|
37
|
-
* to a {@link BufferRecycler} used to provide a low-cost
|
38
|
-
* buffer recycling between reader and writer instances.
|
39
|
-
*/
|
40
|
-
final protected static ThreadLocal<SoftReference<JsonStringEncoder>> _threadEncoder
|
41
|
-
= new ThreadLocal<SoftReference<JsonStringEncoder>>();
|
42
|
-
|
43
|
-
/**
|
44
|
-
* Lazily constructed text buffer used to produce JSON encoded Strings
|
45
|
-
* as characters (without UTF-8 encoding)
|
46
|
-
*/
|
47
|
-
protected TextBuffer _textBuffer;
|
48
|
-
|
49
|
-
/**
|
50
|
-
* Lazily-constructed builder used for UTF-8 encoding of text values
|
51
|
-
* (quoted and unquoted)
|
52
|
-
*/
|
53
|
-
protected ByteArrayBuilder _byteBuilder;
|
54
|
-
|
55
|
-
/**
|
56
|
-
* Temporary buffer used for composing quote/escape sequences
|
57
|
-
*/
|
58
|
-
protected final char[] _quoteBuffer;
|
59
|
-
|
60
|
-
/*
|
61
|
-
/**********************************************************
|
62
|
-
/* Construction, instance access
|
63
|
-
/**********************************************************
|
64
|
-
*/
|
65
|
-
|
66
|
-
public JsonStringEncoder()
|
67
|
-
{
|
68
|
-
_quoteBuffer = new char[6];
|
69
|
-
_quoteBuffer[0] = '\\';
|
70
|
-
_quoteBuffer[2] = '0';
|
71
|
-
_quoteBuffer[3] = '0';
|
72
|
-
}
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Factory method for getting an instance; this is either recycled per-thread instance,
|
76
|
-
* or a newly constructed one.
|
77
|
-
*/
|
78
|
-
public static JsonStringEncoder getInstance()
|
79
|
-
{
|
80
|
-
SoftReference<JsonStringEncoder> ref = _threadEncoder.get();
|
81
|
-
JsonStringEncoder enc = (ref == null) ? null : ref.get();
|
82
|
-
|
83
|
-
if (enc == null) {
|
84
|
-
enc = new JsonStringEncoder();
|
85
|
-
_threadEncoder.set(new SoftReference<JsonStringEncoder>(enc));
|
86
|
-
}
|
87
|
-
return enc;
|
88
|
-
}
|
89
|
-
|
90
|
-
/*
|
91
|
-
/**********************************************************
|
92
|
-
/* Public API
|
93
|
-
/**********************************************************
|
94
|
-
*/
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Method that will quote text contents using JSON standard quoting,
|
98
|
-
* and return results as a character array
|
99
|
-
*/
|
100
|
-
public char[] quoteAsString(String input)
|
101
|
-
{
|
102
|
-
TextBuffer textBuffer = _textBuffer;
|
103
|
-
if (textBuffer == null) {
|
104
|
-
// no allocator; can add if we must, shouldn't need to
|
105
|
-
_textBuffer = textBuffer = new TextBuffer(null);
|
106
|
-
}
|
107
|
-
char[] outputBuffer = textBuffer.emptyAndGetCurrentSegment();
|
108
|
-
final int[] escCodes = CharTypes.get7BitOutputEscapes();
|
109
|
-
final int escCodeCount = escCodes.length;
|
110
|
-
int inPtr = 0;
|
111
|
-
final int inputLen = input.length();
|
112
|
-
int outPtr = 0;
|
113
|
-
|
114
|
-
outer_loop:
|
115
|
-
while (inPtr < inputLen) {
|
116
|
-
tight_loop:
|
117
|
-
while (true) {
|
118
|
-
char c = input.charAt(inPtr);
|
119
|
-
if (c < escCodeCount && escCodes[c] != 0) {
|
120
|
-
break tight_loop;
|
121
|
-
}
|
122
|
-
if (outPtr >= outputBuffer.length) {
|
123
|
-
outputBuffer = textBuffer.finishCurrentSegment();
|
124
|
-
outPtr = 0;
|
125
|
-
}
|
126
|
-
outputBuffer[outPtr++] = c;
|
127
|
-
if (++inPtr >= inputLen) {
|
128
|
-
break outer_loop;
|
129
|
-
}
|
130
|
-
}
|
131
|
-
// something to escape; 2 or 6-char variant?
|
132
|
-
int escCode = escCodes[input.charAt(inPtr++)];
|
133
|
-
int length = _appendSingleEscape(escCode, _quoteBuffer);
|
134
|
-
if ((outPtr + length) > outputBuffer.length) {
|
135
|
-
int first = outputBuffer.length - outPtr;
|
136
|
-
if (first > 0) {
|
137
|
-
System.arraycopy(_quoteBuffer, 0, outputBuffer, outPtr, first);
|
138
|
-
}
|
139
|
-
outputBuffer = textBuffer.finishCurrentSegment();
|
140
|
-
int second = length - first;
|
141
|
-
System.arraycopy(_quoteBuffer, first, outputBuffer, outPtr, second);
|
142
|
-
outPtr += second;
|
143
|
-
} else {
|
144
|
-
System.arraycopy(_quoteBuffer, 0, outputBuffer, outPtr, length);
|
145
|
-
outPtr += length;
|
146
|
-
}
|
147
|
-
|
148
|
-
}
|
149
|
-
textBuffer.setCurrentLength(outPtr);
|
150
|
-
return textBuffer.contentsAsArray();
|
151
|
-
}
|
152
|
-
|
153
|
-
/**
|
154
|
-
* Will quote given JSON String value using standard quoting, encode
|
155
|
-
* results as UTF-8, and return result as a byte array.
|
156
|
-
*/
|
157
|
-
public byte[] quoteAsUTF8(String text)
|
158
|
-
{
|
159
|
-
ByteArrayBuilder byteBuilder = _byteBuilder;
|
160
|
-
if (byteBuilder == null) {
|
161
|
-
// no allocator; can add if we must, shouldn't need to
|
162
|
-
_byteBuilder = byteBuilder = new ByteArrayBuilder(null);
|
163
|
-
}
|
164
|
-
int inputPtr = 0;
|
165
|
-
int inputEnd = text.length();
|
166
|
-
int outputPtr = 0;
|
167
|
-
byte[] outputBuffer = byteBuilder.resetAndGetFirstSegment();
|
168
|
-
|
169
|
-
main_loop:
|
170
|
-
while (inputPtr < inputEnd) {
|
171
|
-
final int[] escCodes = CharTypes.get7BitOutputEscapes();
|
172
|
-
|
173
|
-
inner_loop: // ascii and escapes
|
174
|
-
while (true) {
|
175
|
-
int ch = text.charAt(inputPtr);
|
176
|
-
if (ch > 0x7F || escCodes[ch] != 0) {
|
177
|
-
break inner_loop;
|
178
|
-
}
|
179
|
-
if (outputPtr >= outputBuffer.length) {
|
180
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
181
|
-
outputPtr = 0;
|
182
|
-
}
|
183
|
-
outputBuffer[outputPtr++] = (byte) ch;
|
184
|
-
if (++inputPtr >= inputEnd) {
|
185
|
-
break main_loop;
|
186
|
-
}
|
187
|
-
}
|
188
|
-
if (outputPtr >= outputBuffer.length) {
|
189
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
190
|
-
outputPtr = 0;
|
191
|
-
}
|
192
|
-
// Ok, so what did we hit?
|
193
|
-
int ch = (int) text.charAt(inputPtr++);
|
194
|
-
if (ch <= 0x7F) { // needs quoting
|
195
|
-
int escape = escCodes[ch];
|
196
|
-
// ctrl-char, 6-byte escape...
|
197
|
-
outputPtr = _appendByteEscape(ch, escape, byteBuilder, outputPtr);
|
198
|
-
outputBuffer = byteBuilder.getCurrentSegment();
|
199
|
-
continue main_loop;
|
200
|
-
} else if (ch <= 0x7FF) { // fine, just needs 2 byte output
|
201
|
-
outputBuffer[outputPtr++] = (byte) (0xc0 | (ch >> 6));
|
202
|
-
ch = (0x80 | (ch & 0x3f));
|
203
|
-
} else { // 3 or 4 bytes
|
204
|
-
// Surrogates?
|
205
|
-
if (ch < SURR1_FIRST || ch > SURR2_LAST) { // nope
|
206
|
-
outputBuffer[outputPtr++] = (byte) (0xe0 | (ch >> 12));
|
207
|
-
if (outputPtr >= outputBuffer.length) {
|
208
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
209
|
-
outputPtr = 0;
|
210
|
-
}
|
211
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((ch >> 6) & 0x3f));
|
212
|
-
ch = (0x80 | (ch & 0x3f));
|
213
|
-
} else { // yes, surrogate pair
|
214
|
-
if (ch > SURR1_LAST) { // must be from first range
|
215
|
-
_throwIllegalSurrogate(ch);
|
216
|
-
}
|
217
|
-
// and if so, followed by another from next range
|
218
|
-
if (inputPtr >= inputEnd) {
|
219
|
-
_throwIllegalSurrogate(ch);
|
220
|
-
}
|
221
|
-
ch = _convertSurrogate(ch, text.charAt(inputPtr++));
|
222
|
-
if (ch > 0x10FFFF) { // illegal, as per RFC 4627
|
223
|
-
_throwIllegalSurrogate(ch);
|
224
|
-
}
|
225
|
-
outputBuffer[outputPtr++] = (byte) (0xf0 | (ch >> 18));
|
226
|
-
if (outputPtr >= outputBuffer.length) {
|
227
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
228
|
-
outputPtr = 0;
|
229
|
-
}
|
230
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((ch >> 12) & 0x3f));
|
231
|
-
if (outputPtr >= outputBuffer.length) {
|
232
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
233
|
-
outputPtr = 0;
|
234
|
-
}
|
235
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((ch >> 6) & 0x3f));
|
236
|
-
ch = (0x80 | (ch & 0x3f));
|
237
|
-
}
|
238
|
-
}
|
239
|
-
if (outputPtr >= outputBuffer.length) {
|
240
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
241
|
-
outputPtr = 0;
|
242
|
-
}
|
243
|
-
outputBuffer[outputPtr++] = (byte) ch;
|
244
|
-
}
|
245
|
-
return _byteBuilder.completeAndCoalesce(outputPtr);
|
246
|
-
}
|
247
|
-
|
248
|
-
/**
|
249
|
-
* Will encode given String as UTF-8 (without any quoting), return
|
250
|
-
* resulting byte array.
|
251
|
-
*/
|
252
|
-
public byte[] encodeAsUTF8(String text)
|
253
|
-
{
|
254
|
-
ByteArrayBuilder byteBuilder = _byteBuilder;
|
255
|
-
if (byteBuilder == null) {
|
256
|
-
// no allocator; can add if we must, shouldn't need to
|
257
|
-
_byteBuilder = byteBuilder = new ByteArrayBuilder(null);
|
258
|
-
}
|
259
|
-
int inputPtr = 0;
|
260
|
-
int inputEnd = text.length();
|
261
|
-
int outputPtr = 0;
|
262
|
-
byte[] outputBuffer = byteBuilder.resetAndGetFirstSegment();
|
263
|
-
int outputEnd = outputBuffer.length;
|
264
|
-
|
265
|
-
main_loop:
|
266
|
-
while (inputPtr < inputEnd) {
|
267
|
-
int c = text.charAt(inputPtr++);
|
268
|
-
|
269
|
-
// first tight loop for ascii
|
270
|
-
while (c <= 0x7F) {
|
271
|
-
if (outputPtr >= outputEnd) {
|
272
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
273
|
-
outputEnd = outputBuffer.length;
|
274
|
-
outputPtr = 0;
|
275
|
-
}
|
276
|
-
outputBuffer[outputPtr++] = (byte) c;
|
277
|
-
if (inputPtr >= inputEnd) {
|
278
|
-
break main_loop;
|
279
|
-
}
|
280
|
-
c = text.charAt(inputPtr++);
|
281
|
-
}
|
282
|
-
|
283
|
-
// then multi-byte...
|
284
|
-
if (outputPtr >= outputEnd) {
|
285
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
286
|
-
outputEnd = outputBuffer.length;
|
287
|
-
outputPtr = 0;
|
288
|
-
}
|
289
|
-
if (c < 0x800) { // 2-byte
|
290
|
-
outputBuffer[outputPtr++] = (byte) (0xc0 | (c >> 6));
|
291
|
-
} else { // 3 or 4 bytes
|
292
|
-
// Surrogates?
|
293
|
-
if (c < SURR1_FIRST || c > SURR2_LAST) { // nope
|
294
|
-
outputBuffer[outputPtr++] = (byte) (0xe0 | (c >> 12));
|
295
|
-
if (outputPtr >= outputEnd) {
|
296
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
297
|
-
outputEnd = outputBuffer.length;
|
298
|
-
outputPtr = 0;
|
299
|
-
}
|
300
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((c >> 6) & 0x3f));
|
301
|
-
} else { // yes, surrogate pair
|
302
|
-
if (c > SURR1_LAST) { // must be from first range
|
303
|
-
_throwIllegalSurrogate(c);
|
304
|
-
}
|
305
|
-
// and if so, followed by another from next range
|
306
|
-
if (inputPtr >= inputEnd) {
|
307
|
-
_throwIllegalSurrogate(c);
|
308
|
-
}
|
309
|
-
c = _convertSurrogate(c, text.charAt(inputPtr++));
|
310
|
-
if (c > 0x10FFFF) { // illegal, as per RFC 4627
|
311
|
-
_throwIllegalSurrogate(c);
|
312
|
-
}
|
313
|
-
outputBuffer[outputPtr++] = (byte) (0xf0 | (c >> 18));
|
314
|
-
if (outputPtr >= outputEnd) {
|
315
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
316
|
-
outputEnd = outputBuffer.length;
|
317
|
-
outputPtr = 0;
|
318
|
-
}
|
319
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((c >> 12) & 0x3f));
|
320
|
-
if (outputPtr >= outputEnd) {
|
321
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
322
|
-
outputEnd = outputBuffer.length;
|
323
|
-
outputPtr = 0;
|
324
|
-
}
|
325
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | ((c >> 6) & 0x3f));
|
326
|
-
}
|
327
|
-
}
|
328
|
-
if (outputPtr >= outputEnd) {
|
329
|
-
outputBuffer = byteBuilder.finishCurrentSegment();
|
330
|
-
outputEnd = outputBuffer.length;
|
331
|
-
outputPtr = 0;
|
332
|
-
}
|
333
|
-
outputBuffer[outputPtr++] = (byte) (0x80 | (c & 0x3f));
|
334
|
-
}
|
335
|
-
return _byteBuilder.completeAndCoalesce(outputPtr);
|
336
|
-
}
|
337
|
-
|
338
|
-
/*
|
339
|
-
/**********************************************************
|
340
|
-
/* Internal methods
|
341
|
-
/**********************************************************
|
342
|
-
*/
|
343
|
-
|
344
|
-
private int _appendSingleEscape(int escCode, char[] quoteBuffer)
|
345
|
-
{
|
346
|
-
if (escCode < 0) { // control char, value -(char + 1)
|
347
|
-
int value = -(escCode + 1);
|
348
|
-
quoteBuffer[1] = 'u';
|
349
|
-
// We know it's a control char, so only the last 2 chars are non-0
|
350
|
-
quoteBuffer[4] = HEX_CHARS[value >> 4];
|
351
|
-
quoteBuffer[5] = HEX_CHARS[value & 0xF];
|
352
|
-
return 6;
|
353
|
-
}
|
354
|
-
quoteBuffer[1] = (char) escCode;
|
355
|
-
return 2;
|
356
|
-
}
|
357
|
-
|
358
|
-
private int _appendByteEscape(int ch, int escCode, ByteArrayBuilder byteBuilder, int ptr)
|
359
|
-
{
|
360
|
-
byteBuilder.setCurrentSegmentLength(ptr);
|
361
|
-
byteBuilder.append(INT_BACKSLASH);
|
362
|
-
if (escCode < 0) { // standard escape
|
363
|
-
byteBuilder.append(INT_U);
|
364
|
-
if (ch > 0xFF) {
|
365
|
-
int hi = (ch >> 8);
|
366
|
-
byteBuilder.append(HEX_BYTES[hi >> 4]);
|
367
|
-
byteBuilder.append(HEX_BYTES[hi & 0xF]);
|
368
|
-
ch &= 0xFF;
|
369
|
-
} else {
|
370
|
-
byteBuilder.append(INT_0);
|
371
|
-
byteBuilder.append(INT_0);
|
372
|
-
}
|
373
|
-
byteBuilder.append(HEX_BYTES[ch >> 4]);
|
374
|
-
byteBuilder.append(HEX_BYTES[ch & 0xF]);
|
375
|
-
} else { // 2-char simple escape
|
376
|
-
byteBuilder.append((byte) escCode);
|
377
|
-
}
|
378
|
-
return byteBuilder.getCurrentSegmentLength();
|
379
|
-
}
|
380
|
-
|
381
|
-
/**
|
382
|
-
* Method called to calculate UTF code point, from a surrogate pair.
|
383
|
-
*/
|
384
|
-
private int _convertSurrogate(int firstPart, int secondPart)
|
385
|
-
{
|
386
|
-
// Ok, then, is the second part valid?
|
387
|
-
if (secondPart < SURR2_FIRST || secondPart > SURR2_LAST) {
|
388
|
-
throw new IllegalArgumentException("Broken surrogate pair: first char 0x"+Integer.toHexString(firstPart)+", second 0x"+Integer.toHexString(secondPart)+"; illegal combination");
|
389
|
-
}
|
390
|
-
return 0x10000 + ((firstPart - SURR1_FIRST) << 10) + (secondPart - SURR2_FIRST);
|
391
|
-
}
|
392
|
-
|
393
|
-
private void _throwIllegalSurrogate(int code)
|
394
|
-
{
|
395
|
-
if (code > 0x10FFFF) { // over max?
|
396
|
-
throw new IllegalArgumentException("Illegal character point (0x"+Integer.toHexString(code)+") to output; max is 0x10FFFF as per RFC 4627");
|
397
|
-
}
|
398
|
-
if (code >= SURR1_FIRST) {
|
399
|
-
if (code <= SURR1_LAST) { // Unmatched first part (closing without second part?)
|
400
|
-
throw new IllegalArgumentException("Unmatched first part of surrogate pair (0x"+Integer.toHexString(code)+")");
|
401
|
-
}
|
402
|
-
throw new IllegalArgumentException("Unmatched second part of surrogate pair (0x"+Integer.toHexString(code)+")");
|
403
|
-
}
|
404
|
-
// should we ever get this?
|
405
|
-
throw new IllegalArgumentException("Illegal character point (0x"+Integer.toHexString(code)+") to output");
|
406
|
-
}
|
407
|
-
|
408
|
-
}
|
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java
DELETED
@@ -1,145 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.io;
|
2
|
-
|
3
|
-
import java.io.*;
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Simple {@link InputStream} implementation that is used to "unwind" some
|
7
|
-
* data previously read from an input stream; so that as long as some of
|
8
|
-
* that data remains, it's returned; but as long as it's read, we'll
|
9
|
-
* just use data from the underlying original stream.
|
10
|
-
* This is similar to {@link java.io.PushbackInputStream}, but here there's
|
11
|
-
* only one implicit pushback, when instance is constructed.
|
12
|
-
*/
|
13
|
-
public final class MergedStream
|
14
|
-
extends InputStream
|
15
|
-
{
|
16
|
-
final protected IOContext _context;
|
17
|
-
|
18
|
-
final InputStream _in;
|
19
|
-
|
20
|
-
byte[] _buffer;
|
21
|
-
|
22
|
-
int _ptr;
|
23
|
-
|
24
|
-
final int _end;
|
25
|
-
|
26
|
-
public MergedStream(IOContext context,
|
27
|
-
InputStream in, byte[] buf, int start, int end)
|
28
|
-
{
|
29
|
-
_context = context;
|
30
|
-
_in = in;
|
31
|
-
_buffer = buf;
|
32
|
-
_ptr = start;
|
33
|
-
_end = end;
|
34
|
-
}
|
35
|
-
|
36
|
-
@Override
|
37
|
-
public int available() throws IOException
|
38
|
-
{
|
39
|
-
if (_buffer != null) {
|
40
|
-
return _end - _ptr;
|
41
|
-
}
|
42
|
-
return _in.available();
|
43
|
-
}
|
44
|
-
|
45
|
-
@Override
|
46
|
-
public void close() throws IOException
|
47
|
-
{
|
48
|
-
freeMergedBuffer();
|
49
|
-
_in.close();
|
50
|
-
}
|
51
|
-
|
52
|
-
@Override
|
53
|
-
public void mark(int readlimit)
|
54
|
-
{
|
55
|
-
if (_buffer == null) {
|
56
|
-
_in.mark(readlimit);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
@Override
|
61
|
-
public boolean markSupported()
|
62
|
-
{
|
63
|
-
// Only supports marks past the initial rewindable section...
|
64
|
-
return (_buffer == null) && _in.markSupported();
|
65
|
-
}
|
66
|
-
|
67
|
-
@Override
|
68
|
-
public int read() throws IOException
|
69
|
-
{
|
70
|
-
if (_buffer != null) {
|
71
|
-
int c = _buffer[_ptr++] & 0xFF;
|
72
|
-
if (_ptr >= _end) {
|
73
|
-
freeMergedBuffer();
|
74
|
-
}
|
75
|
-
return c;
|
76
|
-
}
|
77
|
-
return _in.read();
|
78
|
-
}
|
79
|
-
|
80
|
-
@Override
|
81
|
-
public int read(byte[] b) throws IOException
|
82
|
-
{
|
83
|
-
return read(b, 0, b.length);
|
84
|
-
}
|
85
|
-
|
86
|
-
@Override
|
87
|
-
public int read(byte[] b, int off, int len) throws IOException
|
88
|
-
{
|
89
|
-
if (_buffer != null) {
|
90
|
-
int avail = _end - _ptr;
|
91
|
-
if (len > avail) {
|
92
|
-
len = avail;
|
93
|
-
}
|
94
|
-
System.arraycopy(_buffer, _ptr, b, off, len);
|
95
|
-
_ptr += len;
|
96
|
-
if (_ptr >= _end) {
|
97
|
-
freeMergedBuffer();
|
98
|
-
}
|
99
|
-
return len;
|
100
|
-
}
|
101
|
-
return _in.read(b, off, len);
|
102
|
-
}
|
103
|
-
|
104
|
-
@Override
|
105
|
-
public void reset() throws IOException
|
106
|
-
{
|
107
|
-
if (_buffer == null) {
|
108
|
-
_in.reset();
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
@Override
|
113
|
-
public long skip(long n) throws IOException
|
114
|
-
{
|
115
|
-
long count = 0L;
|
116
|
-
|
117
|
-
if (_buffer != null) {
|
118
|
-
int amount = _end - _ptr;
|
119
|
-
|
120
|
-
if (amount > n) { // all in pushed back segment?
|
121
|
-
_ptr += (int) n;
|
122
|
-
return n;
|
123
|
-
}
|
124
|
-
freeMergedBuffer();
|
125
|
-
count += amount;
|
126
|
-
n -= amount;
|
127
|
-
}
|
128
|
-
|
129
|
-
if (n > 0) {
|
130
|
-
count += _in.skip(n);
|
131
|
-
}
|
132
|
-
return count;
|
133
|
-
}
|
134
|
-
|
135
|
-
private void freeMergedBuffer()
|
136
|
-
{
|
137
|
-
byte[] buf = _buffer;
|
138
|
-
if (buf != null) {
|
139
|
-
_buffer = null;
|
140
|
-
if (_context != null) {
|
141
|
-
_context.releaseReadIOBuffer(buf);
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
}
|