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.
Files changed (446) hide show
  1. checksums.yaml +4 -4
  2. data/lib/calabash-android/helpers.rb +22 -1
  3. data/lib/calabash-android/lib/TestServer.apk +0 -0
  4. data/lib/calabash-android/lib/apktool-cli-1.5.3-SNAPSHOT.jar +0 -0
  5. data/lib/calabash-android/version.rb +1 -1
  6. data/test-server/instrumentation-backend/.classpath +4 -1
  7. data/test-server/instrumentation-backend/libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar +0 -0
  8. data/test-server/instrumentation-backend/libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar +0 -0
  9. data/test-server/instrumentation-backend/libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar +0 -0
  10. data/test-server/instrumentation-backend/libs/robotium-solo-4.1.jar +0 -0
  11. data/test-server/instrumentation-backend/src/org/antlr/runtime/LegacyCommonTokenStream.java +6 -1
  12. data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTokenStream.java +3 -3
  13. data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/FastQueue.java +1 -1
  14. data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BaseTreeAdaptor.java +4 -4
  15. data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonErrorNode.java +8 -1
  16. data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeIterator.java +2 -3
  17. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/CalabashInstrumentationTestRunner.java +1 -1
  18. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/InstrumentationBackend.java +2 -2
  19. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +21 -11
  20. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/NanoHTTPD.java +127 -68
  21. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressButtonText.java +2 -2
  22. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressImageButtonDescription.java +2 -3
  23. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/Swipe.java +0 -1
  24. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListData.java +1 -1
  25. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemProperties.java +1 -1
  26. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemText.java +1 -1
  27. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/AssertGridViewContainsNoDuplicates.java +4 -4
  28. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/Press.java +1 -1
  29. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/SelectTab.java +4 -4
  30. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForProgress.java +1 -1
  31. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForTab.java +4 -4
  32. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +2 -1
  33. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +1 -1
  34. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +2 -2
  35. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTClassName.java +0 -2
  36. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +3 -2
  37. metadata +7 -411
  38. data/test-server/instrumentation-backend/libs/robotium-solo-3.6.jar +0 -0
  39. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GetOpenedActivities.java +0 -31
  40. data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GoBackToActivity.java +0 -67
  41. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +0 -413
  42. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +0 -90
  43. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +0 -29
  44. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +0 -47
  45. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +0 -937
  46. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +0 -28
  47. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +0 -1197
  48. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +0 -141
  49. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +0 -879
  50. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +0 -23
  51. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +0 -1434
  52. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +0 -80
  53. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +0 -122
  54. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +0 -161
  55. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +0 -157
  56. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +0 -166
  57. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +0 -54
  58. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +0 -90
  59. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +0 -20
  60. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +0 -20
  61. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +0 -25
  62. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +0 -24
  63. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +0 -148
  64. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +0 -41
  65. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +0 -19
  66. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +0 -35
  67. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +0 -57
  68. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +0 -48
  69. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +0 -33
  70. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +0 -41
  71. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +0 -90
  72. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +0 -38
  73. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +0 -46
  74. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +0 -33
  75. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +0 -33
  76. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +0 -44
  77. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +0 -236
  78. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +0 -28
  79. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +0 -76
  80. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +0 -46
  81. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +0 -34
  82. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +0 -16
  83. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +0 -176
  84. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +0 -117
  85. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +0 -130
  86. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +0 -64
  87. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +0 -8
  88. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +0 -518
  89. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +0 -13
  90. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +0 -23
  91. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +0 -570
  92. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +0 -20
  93. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +0 -1067
  94. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +0 -539
  95. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +0 -188
  96. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +0 -178
  97. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +0 -1815
  98. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +0 -228
  99. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +0 -197
  100. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +0 -1757
  101. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +0 -2966
  102. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +0 -1815
  103. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +0 -6
  104. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +0 -117
  105. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +0 -73
  106. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +0 -239
  107. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +0 -67
  108. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +0 -408
  109. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +0 -145
  110. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +0 -303
  111. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +0 -398
  112. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +0 -40
  113. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +0 -104
  114. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +0 -114
  115. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +0 -214
  116. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +0 -387
  117. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +0 -4
  118. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +0 -63
  119. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +0 -1485
  120. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +0 -171
  121. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +0 -123
  122. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +0 -66
  123. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +0 -117
  124. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +0 -38
  125. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +0 -33
  126. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +0 -38
  127. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +0 -926
  128. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +0 -262
  129. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +0 -56
  130. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +0 -356
  131. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +0 -185
  132. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +0 -339
  133. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +0 -115
  134. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +0 -85
  135. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +0 -166
  136. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +0 -335
  137. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +0 -34
  138. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +0 -22
  139. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +0 -138
  140. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +0 -31
  141. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +0 -21
  142. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +0 -1154
  143. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +0 -190
  144. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +0 -81
  145. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +0 -255
  146. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +0 -2885
  147. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +0 -958
  148. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +0 -554
  149. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +0 -258
  150. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +0 -23
  151. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +0 -23
  152. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +0 -21
  153. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +0 -1041
  154. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +0 -198
  155. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +0 -552
  156. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +0 -137
  157. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +0 -118
  158. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +0 -164
  159. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +0 -30
  160. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +0 -25
  161. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +0 -32
  162. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +0 -109
  163. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +0 -31
  164. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +0 -29
  165. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +0 -216
  166. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +0 -35
  167. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +0 -28
  168. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +0 -26
  169. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +0 -37
  170. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +0 -19
  171. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +0 -5
  172. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +0 -102
  173. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +0 -28
  174. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +0 -11
  175. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +0 -894
  176. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +0 -1537
  177. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +0 -277
  178. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +0 -1474
  179. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +0 -58
  180. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +0 -47
  181. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +0 -14
  182. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +0 -227
  183. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +0 -9
  184. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +0 -15
  185. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +0 -17
  186. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +0 -13
  187. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +0 -54
  188. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +0 -44
  189. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +0 -177
  190. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +0 -827
  191. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +0 -326
  192. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +0 -94
  193. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +0 -494
  194. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +0 -119
  195. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +0 -12
  196. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +0 -11
  197. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +0 -13
  198. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +0 -13
  199. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +0 -9
  200. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +0 -280
  201. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +0 -52
  202. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +0 -257
  203. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +0 -141
  204. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +0 -152
  205. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +0 -173
  206. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +0 -117
  207. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +0 -117
  208. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +0 -102
  209. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +0 -41
  210. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +0 -45
  211. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +0 -9
  212. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +0 -5
  213. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +0 -22
  214. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +0 -47
  215. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +0 -47
  216. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +0 -49
  217. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +0 -265
  218. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +0 -37
  219. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +0 -30
  220. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +0 -139
  221. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +0 -90
  222. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +0 -89
  223. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +0 -265
  224. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +0 -38
  225. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +0 -314
  226. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +0 -412
  227. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +0 -201
  228. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +0 -583
  229. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +0 -1136
  230. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +0 -340
  231. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +0 -108
  232. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +0 -34
  233. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +0 -392
  234. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +0 -227
  235. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +0 -55
  236. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +0 -164
  237. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +0 -30
  238. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +0 -36
  239. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +0 -248
  240. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +0 -15
  241. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +0 -75
  242. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +0 -65
  243. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +0 -217
  244. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +0 -23
  245. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +0 -85
  246. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +0 -980
  247. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +0 -143
  248. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +0 -119
  249. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +0 -56
  250. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +0 -188
  251. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +0 -85
  252. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +0 -191
  253. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +0 -195
  254. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +0 -101
  255. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +0 -615
  256. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +0 -364
  257. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +0 -813
  258. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +0 -83
  259. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +0 -12
  260. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +0 -209
  261. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +0 -713
  262. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +0 -648
  263. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +0 -424
  264. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +0 -12
  265. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +0 -53
  266. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +0 -39
  267. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +0 -74
  268. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +0 -151
  269. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +0 -126
  270. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +0 -110
  271. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +0 -37
  272. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +0 -129
  273. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +0 -191
  274. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +0 -69
  275. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +0 -103
  276. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +0 -121
  277. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +0 -138
  278. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +0 -66
  279. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +0 -151
  280. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +0 -202
  281. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +0 -154
  282. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +0 -37
  283. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +0 -154
  284. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +0 -31
  285. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +0 -9
  286. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +0 -10
  287. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +0 -86
  288. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +0 -130
  289. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +0 -59
  290. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +0 -265
  291. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +0 -206
  292. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +0 -45
  293. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +0 -16
  294. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +0 -34
  295. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +0 -48
  296. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +0 -7
  297. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +0 -806
  298. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +0 -30
  299. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +0 -512
  300. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +0 -126
  301. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +0 -140
  302. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +0 -780
  303. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +0 -95
  304. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +0 -8
  305. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +0 -293
  306. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +0 -17
  307. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +0 -23
  308. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +0 -96
  309. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +0 -11
  310. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +0 -58
  311. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +0 -372
  312. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +0 -18
  313. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +0 -23
  314. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +0 -10
  315. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +0 -852
  316. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +0 -372
  317. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +0 -14
  318. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +0 -43
  319. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +0 -93
  320. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +0 -231
  321. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +0 -73
  322. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +0 -304
  323. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +0 -109
  324. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +0 -114
  325. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +0 -54
  326. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +0 -99
  327. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +0 -76
  328. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +0 -5
  329. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +0 -5
  330. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +0 -185
  331. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +0 -340
  332. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +0 -43
  333. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +0 -113
  334. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +0 -51
  335. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +0 -42
  336. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +0 -218
  337. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +0 -84
  338. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +0 -47
  339. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +0 -116
  340. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +0 -51
  341. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +0 -63
  342. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +0 -233
  343. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +0 -422
  344. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +0 -34
  345. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +0 -38
  346. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +0 -281
  347. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +0 -52
  348. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +0 -52
  349. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +0 -99
  350. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +0 -90
  351. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +0 -184
  352. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +0 -46
  353. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +0 -476
  354. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +0 -249
  355. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +0 -195
  356. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +0 -43
  357. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +0 -95
  358. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +0 -119
  359. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +0 -36
  360. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +0 -38
  361. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +0 -73
  362. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +0 -66
  363. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +0 -260
  364. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +0 -94
  365. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +0 -204
  366. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +0 -94
  367. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +0 -88
  368. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +0 -265
  369. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +0 -146
  370. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +0 -250
  371. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +0 -148
  372. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +0 -351
  373. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +0 -1165
  374. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +0 -38
  375. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +0 -134
  376. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +0 -10
  377. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +0 -23
  378. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +0 -293
  379. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +0 -260
  380. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +0 -645
  381. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +0 -48
  382. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +0 -108
  383. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +0 -82
  384. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +0 -52
  385. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +0 -230
  386. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +0 -105
  387. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +0 -117
  388. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +0 -28
  389. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +0 -45
  390. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +0 -10
  391. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +0 -257
  392. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +0 -180
  393. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +0 -21
  394. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +0 -54
  395. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +0 -348
  396. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +0 -4
  397. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +0 -758
  398. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +0 -122
  399. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +0 -104
  400. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +0 -136
  401. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +0 -84
  402. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +0 -185
  403. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +0 -96
  404. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +0 -106
  405. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +0 -122
  406. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +0 -222
  407. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +0 -99
  408. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +0 -97
  409. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +0 -222
  410. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +0 -58
  411. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +0 -72
  412. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +0 -696
  413. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +0 -145
  414. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +0 -299
  415. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +0 -383
  416. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +0 -58
  417. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +0 -8
  418. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +0 -30
  419. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +0 -82
  420. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +0 -46
  421. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +0 -25
  422. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +0 -5
  423. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +0 -969
  424. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +0 -578
  425. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +0 -50
  426. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +0 -44
  427. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +0 -40
  428. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +0 -39
  429. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +0 -68
  430. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +0 -5
  431. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +0 -503
  432. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +0 -60
  433. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +0 -8
  434. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +0 -109
  435. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +0 -294
  436. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +0 -237
  437. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +0 -282
  438. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +0 -49
  439. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +0 -273
  440. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +0 -251
  441. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +0 -150
  442. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +0 -152
  443. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +0 -707
  444. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +0 -1233
  445. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +0 -79
  446. data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +0 -4
@@ -1,38 +0,0 @@
1
- package sh.calaba.org.codehaus.jackson.map.deser.std;
2
-
3
- import java.io.IOException;
4
-
5
- import sh.calaba.org.codehaus.jackson.JsonParser;
6
- import sh.calaba.org.codehaus.jackson.JsonProcessingException;
7
- import sh.calaba.org.codehaus.jackson.JsonToken;
8
- import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
9
- import sh.calaba.org.codehaus.jackson.type.JavaType;
10
-
11
- /**
12
- * @since 1.9
13
- */
14
- public class JavaTypeDeserializer
15
- extends StdScalarDeserializer<JavaType>
16
- {
17
- public JavaTypeDeserializer() { super(JavaType.class); }
18
-
19
- @Override
20
- public JavaType deserialize(JsonParser jp, DeserializationContext ctxt)
21
- throws IOException, JsonProcessingException
22
- {
23
- JsonToken curr = jp.getCurrentToken();
24
- // Usually should just get string value:
25
- if (curr == JsonToken.VALUE_STRING) {
26
- String str = jp.getText().trim();
27
- if (str.length() == 0) {
28
- return getEmptyValue();
29
- }
30
- return ctxt.getTypeFactory().constructFromCanonical(str);
31
- }
32
- // or occasionally just embedded object maybe
33
- if (curr == JsonToken.VALUE_EMBEDDED_OBJECT) {
34
- return (JavaType) jp.getEmbeddedObject();
35
- }
36
- throw ctxt.mappingException(_valueClass);
37
- }
38
- }
@@ -1,314 +0,0 @@
1
- package sh.calaba.org.codehaus.jackson.map.deser.std;
2
-
3
- import java.io.IOException;
4
-
5
- import sh.calaba.org.codehaus.jackson.*;
6
- import sh.calaba.org.codehaus.jackson.map.*;
7
- import sh.calaba.org.codehaus.jackson.node.*;
8
-
9
- /**
10
- * Deserializer that can build instances of {@link JsonNode} from any
11
- * JSON content, using appropriate {@link JsonNode} type.
12
- *
13
- * @since 1.9 (moved from higher-level package)
14
- */
15
- public class JsonNodeDeserializer
16
- extends BaseNodeDeserializer<JsonNode>
17
- {
18
- /**
19
- * Singleton instance of generic deserializer for {@link JsonNode}.
20
- * Only used for types other than JSON Object and Array.
21
- */
22
- private final static JsonNodeDeserializer instance = new JsonNodeDeserializer();
23
-
24
- protected JsonNodeDeserializer() { super(JsonNode.class); }
25
-
26
- /**
27
- * Factory method for accessing deserializer for specific node type
28
- */
29
- public static JsonDeserializer<? extends JsonNode> getDeserializer(Class<?> nodeClass)
30
- {
31
- if (nodeClass == ObjectNode.class) {
32
- return ObjectDeserializer.getInstance();
33
- }
34
- if (nodeClass == ArrayNode.class) {
35
- return ArrayDeserializer.getInstance();
36
- }
37
- // For others, generic one works fine
38
- return instance;
39
- }
40
-
41
- /*
42
- /**********************************************************
43
- /* Actual deserializer implementations
44
- /**********************************************************
45
- */
46
-
47
- /**
48
- * Implementation that will produce types of any JSON nodes; not just one
49
- * deserializer is registered to handle (in case of more specialized handler).
50
- * Overridden by typed sub-classes for more thorough checking
51
- */
52
- @Override
53
- public JsonNode deserialize(JsonParser jp, DeserializationContext ctxt)
54
- throws IOException, JsonProcessingException
55
- {
56
- switch (jp.getCurrentToken()) {
57
- case START_OBJECT:
58
- return deserializeObject(jp, ctxt, ctxt.getNodeFactory());
59
- case START_ARRAY:
60
- return deserializeArray(jp, ctxt, ctxt.getNodeFactory());
61
- default:
62
- return deserializeAny(jp, ctxt, ctxt.getNodeFactory());
63
- }
64
- }
65
-
66
- /*
67
- /**********************************************************
68
- /* Specific instances for more accurate types
69
- /**********************************************************
70
- */
71
-
72
- final static class ObjectDeserializer
73
- extends BaseNodeDeserializer<ObjectNode>
74
- {
75
- protected final static ObjectDeserializer _instance = new ObjectDeserializer();
76
-
77
- protected ObjectDeserializer() {
78
- super(ObjectNode.class);
79
- }
80
-
81
- public static ObjectDeserializer getInstance() { return _instance; }
82
-
83
- @Override
84
- public ObjectNode deserialize(JsonParser jp, DeserializationContext ctxt)
85
- throws IOException, JsonProcessingException
86
- {
87
- if (jp.getCurrentToken() == JsonToken.START_OBJECT) {
88
- jp.nextToken();
89
- return deserializeObject(jp, ctxt, ctxt.getNodeFactory());
90
- }
91
- if (jp.getCurrentToken() == JsonToken.FIELD_NAME) {
92
- return deserializeObject(jp, ctxt, ctxt.getNodeFactory());
93
- }
94
- throw ctxt.mappingException(ObjectNode.class);
95
- }
96
- }
97
-
98
- final static class ArrayDeserializer
99
- extends BaseNodeDeserializer<ArrayNode>
100
- {
101
- protected final static ArrayDeserializer _instance = new ArrayDeserializer();
102
-
103
- protected ArrayDeserializer() {
104
- super(ArrayNode.class);
105
- }
106
-
107
- public static ArrayDeserializer getInstance() { return _instance; }
108
-
109
- @Override
110
- public ArrayNode deserialize(JsonParser jp, DeserializationContext ctxt)
111
- throws IOException, JsonProcessingException
112
- {
113
- if (jp.isExpectedStartArrayToken()) {
114
- return deserializeArray(jp, ctxt, ctxt.getNodeFactory());
115
- }
116
- throw ctxt.mappingException(ArrayNode.class);
117
- }
118
- }
119
- }
120
-
121
- /**
122
- * Base class for all actual {@link JsonNode} deserializer
123
- * implementations
124
- */
125
- abstract class BaseNodeDeserializer<N extends JsonNode>
126
- extends StdDeserializer<N>
127
- {
128
- public BaseNodeDeserializer(Class<N> nodeClass)
129
- {
130
- super(nodeClass);
131
- }
132
-
133
- @Override
134
- public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
135
- TypeDeserializer typeDeserializer)
136
- throws IOException, JsonProcessingException
137
- {
138
- /* Output can be as JSON Object, Array or scalar: no way to know
139
- * a priori. So:
140
- */
141
- return typeDeserializer.deserializeTypedFromAny(jp, ctxt);
142
- }
143
-
144
- /*
145
- /**********************************************************
146
- /* Overridable methods
147
- /**********************************************************
148
- */
149
-
150
- protected void _reportProblem(JsonParser jp, String msg)
151
- throws JsonMappingException
152
- {
153
- throw new JsonMappingException(msg, jp.getTokenLocation());
154
- }
155
-
156
- /**
157
- * Method called when there is a duplicate value for a field.
158
- * By default we don't care, and the last value is used.
159
- * Can be overridden to provide alternate handling, such as throwing
160
- * an exception, or choosing different strategy for combining values
161
- * or choosing which one to keep.
162
- *
163
- * @param fieldName Name of the field for which duplicate value was found
164
- * @param objectNode Object node that contains values
165
- * @param oldValue Value that existed for the object node before newValue
166
- * was added
167
- * @param newValue Newly added value just added to the object node
168
- */
169
- protected void _handleDuplicateField(String fieldName, ObjectNode objectNode,
170
- JsonNode oldValue, JsonNode newValue)
171
- throws JsonProcessingException
172
- {
173
- // By default, we don't do anything
174
- ;
175
- }
176
-
177
- /*
178
- /**********************************************************
179
- /* Helper methods
180
- /**********************************************************
181
- */
182
-
183
- protected final ObjectNode deserializeObject(JsonParser jp, DeserializationContext ctxt,
184
- final JsonNodeFactory nodeFactory)
185
- throws IOException, JsonProcessingException
186
- {
187
- ObjectNode node = nodeFactory.objectNode();
188
- JsonToken t = jp.getCurrentToken();
189
- if (t == JsonToken.START_OBJECT) {
190
- t = jp.nextToken();
191
- }
192
- for (; t == JsonToken.FIELD_NAME; t = jp.nextToken()) {
193
- String fieldName = jp.getCurrentName();
194
- JsonNode value;
195
- switch (jp.nextToken()) {
196
- case START_OBJECT:
197
- value = deserializeObject(jp, ctxt, nodeFactory);
198
- break;
199
- case START_ARRAY:
200
- value = deserializeArray(jp, ctxt, nodeFactory);
201
- break;
202
- case VALUE_STRING:
203
- value = nodeFactory.textNode(jp.getText());
204
- break;
205
- default:
206
- value = deserializeAny(jp, ctxt, nodeFactory);
207
- }
208
- JsonNode old = node.put(fieldName, value);
209
- if (old != null) {
210
- _handleDuplicateField(fieldName, node, old, value);
211
- }
212
- }
213
- return node;
214
- }
215
-
216
- protected final ArrayNode deserializeArray(JsonParser jp, DeserializationContext ctxt,
217
- final JsonNodeFactory nodeFactory)
218
- throws IOException, JsonProcessingException
219
- {
220
- ArrayNode node = nodeFactory.arrayNode();
221
- while (true) {
222
- switch (jp.nextToken()) {
223
- case START_OBJECT:
224
- node.add(deserializeObject(jp, ctxt, nodeFactory));
225
- break;
226
- case START_ARRAY:
227
- node.add(deserializeArray(jp, ctxt, nodeFactory));
228
- break;
229
- case END_ARRAY:
230
- return node;
231
- case VALUE_STRING:
232
- node.add(nodeFactory.textNode(jp.getText()));
233
- break;
234
- default:
235
- node.add(deserializeAny(jp, ctxt, nodeFactory));
236
- break;
237
- }
238
- }
239
- }
240
-
241
- protected final JsonNode deserializeAny(JsonParser jp, DeserializationContext ctxt,
242
- final JsonNodeFactory nodeFactory)
243
- throws IOException, JsonProcessingException
244
- {
245
- switch (jp.getCurrentToken()) {
246
- case START_OBJECT:
247
- return deserializeObject(jp, ctxt, nodeFactory);
248
-
249
- case START_ARRAY:
250
- return deserializeArray(jp, ctxt, nodeFactory);
251
-
252
- case FIELD_NAME:
253
- return deserializeObject(jp, ctxt, nodeFactory);
254
-
255
- case VALUE_EMBEDDED_OBJECT:
256
- // [JACKSON-796]
257
- {
258
- Object ob = jp.getEmbeddedObject();
259
- if (ob == null) { // should this occur?
260
- return nodeFactory.nullNode();
261
- }
262
- Class<?> type = ob.getClass();
263
- if (type == byte[].class) { // most common special case
264
- return nodeFactory.binaryNode((byte[]) ob);
265
- }
266
- // any other special handling needed?
267
- return nodeFactory.POJONode(ob);
268
- }
269
-
270
- case VALUE_STRING:
271
- return nodeFactory.textNode(jp.getText());
272
-
273
- case VALUE_NUMBER_INT:
274
- {
275
- JsonParser.NumberType nt = jp.getNumberType();
276
- if (nt == JsonParser.NumberType.BIG_INTEGER
277
- || ctxt.isEnabled(DeserializationConfig.Feature.USE_BIG_INTEGER_FOR_INTS)) {
278
- return nodeFactory.numberNode(jp.getBigIntegerValue());
279
- }
280
- if (nt == JsonParser.NumberType.INT) {
281
- return nodeFactory.numberNode(jp.getIntValue());
282
- }
283
- return nodeFactory.numberNode(jp.getLongValue());
284
- }
285
-
286
- case VALUE_NUMBER_FLOAT:
287
- {
288
- JsonParser.NumberType nt = jp.getNumberType();
289
- if (nt == JsonParser.NumberType.BIG_DECIMAL
290
- || ctxt.isEnabled(DeserializationConfig.Feature.USE_BIG_DECIMAL_FOR_FLOATS)) {
291
- return nodeFactory.numberNode(jp.getDecimalValue());
292
- }
293
- return nodeFactory.numberNode(jp.getDoubleValue());
294
- }
295
-
296
- case VALUE_TRUE:
297
- return nodeFactory.booleanNode(true);
298
-
299
- case VALUE_FALSE:
300
- return nodeFactory.booleanNode(false);
301
-
302
- case VALUE_NULL:
303
- return nodeFactory.nullNode();
304
-
305
- // These states can not be mapped; input stream is
306
- // off by an event or two
307
-
308
- //case END_OBJECT:
309
- //case END_ARRAY:
310
- default:
311
- throw ctxt.mappingException(getValueClass());
312
- }
313
- }
314
- }
@@ -1,412 +0,0 @@
1
- package sh.calaba.org.codehaus.jackson.map.deser.std;
2
-
3
- import java.io.IOException;
4
- import java.lang.reflect.Constructor;
5
- import java.lang.reflect.InvocationTargetException;
6
- import java.util.*;
7
-
8
- import sh.calaba.org.codehaus.jackson.JsonParser;
9
- import sh.calaba.org.codehaus.jackson.JsonProcessingException;
10
- import sh.calaba.org.codehaus.jackson.JsonToken;
11
- import sh.calaba.org.codehaus.jackson.map.*;
12
- import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
13
- import sh.calaba.org.codehaus.jackson.map.deser.SettableBeanProperty;
14
- import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
15
- import sh.calaba.org.codehaus.jackson.map.deser.impl.PropertyBasedCreator;
16
- import sh.calaba.org.codehaus.jackson.map.deser.impl.PropertyValueBuffer;
17
- import sh.calaba.org.codehaus.jackson.map.deser.std.ContainerDeserializerBase;
18
- import sh.calaba.org.codehaus.jackson.map.deser.std.StdValueInstantiator;
19
- import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedConstructor;
20
- import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedWithParams;
21
- import sh.calaba.org.codehaus.jackson.map.util.ArrayBuilders;
22
- import sh.calaba.org.codehaus.jackson.type.JavaType;
23
-
24
- /**
25
- * Basic serializer that can take Json "Object" structure and
26
- * construct a {@link java.util.Map} instance, with typed contents.
27
- *<p>
28
- * Note: for untyped content (one indicated by passing Object.class
29
- * as the type), {@link UntypedObjectDeserializer} is used instead.
30
- * It can also construct {@link java.util.Map}s, but not with specific
31
- * POJO types, only other containers and primitives/wrappers.
32
- */
33
- @JacksonStdImpl
34
- public class MapDeserializer
35
- extends ContainerDeserializerBase<Map<Object,Object>>
36
- implements ResolvableDeserializer
37
- {
38
- // // Configuration: typing, deserializers
39
-
40
- protected final JavaType _mapType;
41
-
42
- /**
43
- * Key deserializer used, if not null. If null, String from JSON
44
- * content is used as is.
45
- */
46
- protected final KeyDeserializer _keyDeserializer;
47
-
48
- /**
49
- * Value deserializer.
50
- */
51
- protected final JsonDeserializer<Object> _valueDeserializer;
52
-
53
- /**
54
- * If value instances have polymorphic type information, this
55
- * is the type deserializer that can handle it
56
- */
57
- protected final TypeDeserializer _valueTypeDeserializer;
58
-
59
- // // Instance construction settings:
60
-
61
- /**
62
- * @since 1.9
63
- */
64
- protected final ValueInstantiator _valueInstantiator;
65
-
66
- /**
67
- * @since 1.9
68
- */
69
- protected final boolean _hasDefaultCreator;
70
-
71
- /**
72
- * If the Map is to be instantiated using non-default constructor
73
- * or factory method
74
- * that takes one or more named properties as argument(s),
75
- * this creator is used for instantiation.
76
- */
77
- protected PropertyBasedCreator _propertyBasedCreator;
78
-
79
- /**
80
- * Deserializer that is used iff delegate-based creator is
81
- * to be used for deserializing from JSON Object.
82
- */
83
- protected JsonDeserializer<Object> _delegateDeserializer;
84
-
85
- // // Any properties to ignore if seen?
86
-
87
- protected HashSet<String> _ignorableProperties;
88
-
89
- /*
90
- /**********************************************************
91
- /* Life-cycle
92
- /**********************************************************
93
- */
94
-
95
- /**
96
- * @deprecated Since 1.9, use variant that takes ValueInstantiator
97
- */
98
- @Deprecated
99
- protected MapDeserializer(JavaType mapType, Constructor<Map<Object,Object>> defCtor,
100
- KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser,
101
- TypeDeserializer valueTypeDeser)
102
- {
103
- super(Map.class);
104
- _mapType = mapType;
105
- _keyDeserializer = keyDeser;
106
- _valueDeserializer = valueDeser;
107
- _valueTypeDeserializer = valueTypeDeser;
108
- // not super-clean, but has to do...
109
- StdValueInstantiator inst = new StdValueInstantiator(null, mapType);
110
- if (defCtor != null) {
111
- AnnotatedConstructor aCtor = new AnnotatedConstructor(defCtor,
112
- null, null);
113
- inst.configureFromObjectSettings(aCtor, null, null, null, null);
114
- }
115
- _hasDefaultCreator = (defCtor != null);
116
- _valueInstantiator = inst;
117
- }
118
-
119
- public MapDeserializer(JavaType mapType, ValueInstantiator valueInstantiator,
120
- KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser,
121
- TypeDeserializer valueTypeDeser)
122
- {
123
- super(Map.class);
124
- _mapType = mapType;
125
- _keyDeserializer = keyDeser;
126
- _valueDeserializer = valueDeser;
127
- _valueTypeDeserializer = valueTypeDeser;
128
- _valueInstantiator = valueInstantiator;
129
- if (valueInstantiator.canCreateFromObjectWith()) {
130
- _propertyBasedCreator = new PropertyBasedCreator(valueInstantiator);
131
- } else {
132
- _propertyBasedCreator = null;
133
- }
134
- _hasDefaultCreator = valueInstantiator.canCreateUsingDefault();
135
- }
136
-
137
- /**
138
- * Copy-constructor that can be used by sub-classes to allow
139
- * copy-on-write styling copying of settings of an existing instance.
140
- *
141
- * @since 1.9
142
- */
143
- protected MapDeserializer(MapDeserializer src)
144
- {
145
- super(src._valueClass);
146
- _mapType = src._mapType;
147
- _keyDeserializer = src._keyDeserializer;
148
- _valueDeserializer = src._valueDeserializer;
149
- _valueTypeDeserializer = src._valueTypeDeserializer;
150
- _valueInstantiator = src._valueInstantiator;
151
- _propertyBasedCreator = src._propertyBasedCreator;
152
- _delegateDeserializer = src._delegateDeserializer;
153
- _hasDefaultCreator = src._hasDefaultCreator;
154
- // should we make a copy here?
155
- _ignorableProperties = src._ignorableProperties;
156
- }
157
-
158
- public void setIgnorableProperties(String[] ignorable)
159
- {
160
- _ignorableProperties = (ignorable == null || ignorable.length == 0) ?
161
- null : ArrayBuilders.arrayToSet(ignorable);
162
- }
163
-
164
- /*
165
- /**********************************************************
166
- /* Validation, post-processing (ResolvableDeserializer)
167
- /**********************************************************
168
- */
169
-
170
- /**
171
- * Method called to finalize setup of this deserializer,
172
- * after deserializer itself has been registered. This
173
- * is needed to handle recursive and transitive dependencies.
174
- */
175
- @Override
176
- public void resolve(DeserializationConfig config, DeserializerProvider provider)
177
- throws JsonMappingException
178
- {
179
- // May need to resolve types for delegate- and/or property-based creators:
180
- if (_valueInstantiator.canCreateUsingDelegate()) {
181
- JavaType delegateType = _valueInstantiator.getDelegateType();
182
- if (delegateType == null) {
183
- throw new IllegalArgumentException("Invalid delegate-creator definition for "+_mapType
184
- +": value instantiator ("+_valueInstantiator.getClass().getName()
185
- +") returned true for 'canCreateUsingDelegate()', but null for 'getDelegateType()'");
186
- }
187
- AnnotatedWithParams delegateCreator = _valueInstantiator.getDelegateCreator();
188
- // Need to create a temporary property to allow contextual deserializers:
189
- // Note: unlike BeanDeserializer, we don't have an AnnotatedClass around; hence no annotations passed
190
- BeanProperty.Std property = new BeanProperty.Std(null,
191
- delegateType, null, delegateCreator);
192
- _delegateDeserializer = findDeserializer(config, provider, delegateType, property);
193
- }
194
- if (_propertyBasedCreator != null) {
195
- for (SettableBeanProperty prop : _propertyBasedCreator.getCreatorProperties()) {
196
- if (!prop.hasValueDeserializer()) {
197
- _propertyBasedCreator.assignDeserializer(prop, findDeserializer(config, provider, prop.getType(), prop));
198
- }
199
- }
200
- }
201
- }
202
-
203
- /*
204
- /**********************************************************
205
- /* ContainerDeserializerBase API
206
- /**********************************************************
207
- */
208
-
209
- @Override
210
- public JavaType getContentType() {
211
- return _mapType.getContentType();
212
- }
213
-
214
- @Override
215
- public JsonDeserializer<Object> getContentDeserializer() {
216
- return _valueDeserializer;
217
- }
218
-
219
- /*
220
- /**********************************************************
221
- /* JsonDeserializer API
222
- /**********************************************************
223
- */
224
-
225
- @Override
226
- @SuppressWarnings("unchecked")
227
- public Map<Object,Object> deserialize(JsonParser jp, DeserializationContext ctxt)
228
- throws IOException, JsonProcessingException
229
- {
230
- if (_propertyBasedCreator != null) {
231
- return _deserializeUsingCreator(jp, ctxt);
232
- }
233
- if (_delegateDeserializer != null) {
234
- return (Map<Object,Object>) _valueInstantiator.createUsingDelegate(_delegateDeserializer.deserialize(jp, ctxt));
235
- }
236
- if (!_hasDefaultCreator) {
237
- throw ctxt.instantiationException(getMapClass(), "No default constructor found");
238
- }
239
- // Ok: must point to START_OBJECT, FIELD_NAME or END_OBJECT
240
- JsonToken t = jp.getCurrentToken();
241
- if (t != JsonToken.START_OBJECT && t != JsonToken.FIELD_NAME && t != JsonToken.END_OBJECT) {
242
- // [JACKSON-620] (empty) String may be ok however:
243
- if (t == JsonToken.VALUE_STRING) {
244
- return (Map<Object,Object>) _valueInstantiator.createFromString(jp.getText());
245
- }
246
- throw ctxt.mappingException(getMapClass());
247
- }
248
- final Map<Object,Object> result = (Map<Object,Object>) _valueInstantiator.createUsingDefault();
249
- _readAndBind(jp, ctxt, result);
250
- return result;
251
- }
252
-
253
- @Override
254
- public Map<Object,Object> deserialize(JsonParser jp, DeserializationContext ctxt,
255
- Map<Object,Object> result)
256
- throws IOException, JsonProcessingException
257
- {
258
- // Ok: must point to START_OBJECT or FIELD_NAME
259
- JsonToken t = jp.getCurrentToken();
260
- if (t != JsonToken.START_OBJECT && t != JsonToken.FIELD_NAME) {
261
- throw ctxt.mappingException(getMapClass());
262
- }
263
- _readAndBind(jp, ctxt, result);
264
- return result;
265
- }
266
-
267
- @Override
268
- public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
269
- TypeDeserializer typeDeserializer)
270
- throws IOException, JsonProcessingException
271
- {
272
- // In future could check current token... for now this should be enough:
273
- return typeDeserializer.deserializeTypedFromObject(jp, ctxt);
274
- }
275
-
276
- /*
277
- /**********************************************************
278
- /* Other public accessors
279
- /**********************************************************
280
- */
281
-
282
- @SuppressWarnings("unchecked")
283
- public final Class<?> getMapClass() { return (Class<Map<Object,Object>>) _mapType.getRawClass(); }
284
-
285
- @Override public JavaType getValueType() { return _mapType; }
286
-
287
- /*
288
- /**********************************************************
289
- /* Internal methods
290
- /**********************************************************
291
- */
292
-
293
- protected final void _readAndBind(JsonParser jp, DeserializationContext ctxt,
294
- Map<Object,Object> result)
295
- throws IOException, JsonProcessingException
296
- {
297
- JsonToken t = jp.getCurrentToken();
298
- if (t == JsonToken.START_OBJECT) {
299
- t = jp.nextToken();
300
- }
301
- final KeyDeserializer keyDes = _keyDeserializer;
302
- final JsonDeserializer<Object> valueDes = _valueDeserializer;
303
- final TypeDeserializer typeDeser = _valueTypeDeserializer;
304
- for (; t == JsonToken.FIELD_NAME; t = jp.nextToken()) {
305
- // Must point to field name
306
- String fieldName = jp.getCurrentName();
307
- Object key = keyDes.deserializeKey(fieldName, ctxt);
308
- // And then the value...
309
- t = jp.nextToken();
310
- if (_ignorableProperties != null && _ignorableProperties.contains(fieldName)) {
311
- jp.skipChildren();
312
- continue;
313
- }
314
- // Note: must handle null explicitly here; value deserializers won't
315
- Object value;
316
- if (t == JsonToken.VALUE_NULL) {
317
- value = null;
318
- } else if (typeDeser == null) {
319
- value = valueDes.deserialize(jp, ctxt);
320
- } else {
321
- value = valueDes.deserializeWithType(jp, ctxt, typeDeser);
322
- }
323
- /* !!! 23-Dec-2008, tatu: should there be an option to verify
324
- * that there are no duplicate field names? (and/or what
325
- * to do, keep-first or keep-last)
326
- */
327
- result.put(key, value);
328
- }
329
- }
330
-
331
- @SuppressWarnings("unchecked")
332
- public Map<Object,Object> _deserializeUsingCreator(JsonParser jp, DeserializationContext ctxt)
333
- throws IOException, JsonProcessingException
334
- {
335
- final PropertyBasedCreator creator = _propertyBasedCreator;
336
- PropertyValueBuffer buffer = creator.startBuilding(jp, ctxt);
337
-
338
- JsonToken t = jp.getCurrentToken();
339
- if (t == JsonToken.START_OBJECT) {
340
- t = jp.nextToken();
341
- }
342
- final JsonDeserializer<Object> valueDes = _valueDeserializer;
343
- final TypeDeserializer typeDeser = _valueTypeDeserializer;
344
- for (; t == JsonToken.FIELD_NAME; t = jp.nextToken()) {
345
- String propName = jp.getCurrentName();
346
- t = jp.nextToken(); // to get to value
347
- if (_ignorableProperties != null && _ignorableProperties.contains(propName)) {
348
- jp.skipChildren(); // and skip it (in case of array/object)
349
- continue;
350
- }
351
- // creator property?
352
- SettableBeanProperty prop = creator.findCreatorProperty(propName);
353
- if (prop != null) {
354
- // Last property to set?
355
- Object value = prop.deserialize(jp, ctxt);
356
- if (buffer.assignParameter(prop.getPropertyIndex(), value)) {
357
- jp.nextToken();
358
- Map<Object,Object> result;
359
- try {
360
- result = (Map<Object,Object>)creator.build(buffer);
361
- } catch (Exception e) {
362
- wrapAndThrow(e, _mapType.getRawClass());
363
- return null;
364
- }
365
- _readAndBind(jp, ctxt, result);
366
- return result;
367
- }
368
- continue;
369
- }
370
- // other property? needs buffering
371
- String fieldName = jp.getCurrentName();
372
- Object key = _keyDeserializer.deserializeKey(fieldName, ctxt);
373
- Object value;
374
- if (t == JsonToken.VALUE_NULL) {
375
- value = null;
376
- } else if (typeDeser == null) {
377
- value = valueDes.deserialize(jp, ctxt);
378
- } else {
379
- value = valueDes.deserializeWithType(jp, ctxt, typeDeser);
380
- }
381
- buffer.bufferMapProperty(key, value);
382
- }
383
- // end of JSON object?
384
- // if so, can just construct and leave...
385
- try {
386
- return (Map<Object,Object>)creator.build(buffer);
387
- } catch (Exception e) {
388
- wrapAndThrow(e, _mapType.getRawClass());
389
- return null;
390
- }
391
- }
392
-
393
- // note: copied form BeanDeserializer; should try to share somehow...
394
- protected void wrapAndThrow(Throwable t, Object ref)
395
- throws IOException
396
- {
397
- // to handle StackOverflow:
398
- while (t instanceof InvocationTargetException && t.getCause() != null) {
399
- t = t.getCause();
400
- }
401
- // Errors and "plain" IOExceptions to be passed as is
402
- if (t instanceof Error) {
403
- throw (Error) t;
404
- }
405
- // ... except for mapping exceptions
406
- if (t instanceof IOException && !(t instanceof JsonMappingException)) {
407
- throw (IOException) t;
408
- }
409
- throw JsonMappingException.wrapWithPath(t, ref, null);
410
- }
411
-
412
- }