calabash-android 0.4.7.pre6 → 0.4.7.pre7
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 +7 -15
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/build.xml +2 -2
- data/test-server/instrumentation-backend/.classpath +0 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +1 -2
- 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/webview/QueryHelper.java +1 -2
- 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 +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +203 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/apache/http/entity/mime/version.properties +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +413 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +937 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +1197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +879 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +1434 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +80 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +161 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +157 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +24 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +57 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +236 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +176 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +64 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +518 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +570 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +1067 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +539 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +178 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +228 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +1757 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +2966 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +6 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +239 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +67 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +408 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +303 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +398 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +214 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +387 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +1485 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +171 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +123 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +926 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +262 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +356 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +339 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +115 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +335 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +1154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +190 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +81 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +255 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +2885 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +958 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +554 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +258 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +1041 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +198 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +552 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +137 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +118 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +32 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +216 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +26 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +894 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +1537 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +277 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +1474 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +177 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +827 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +326 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +494 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +280 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +173 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +139 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +89 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +314 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +412 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +201 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +583 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +1136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +392 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +55 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +248 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +75 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +65 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +217 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +980 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +143 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +101 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +615 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +364 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +813 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +83 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +209 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +713 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +648 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +424 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +53 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +74 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +110 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +129 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +69 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +103 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +121 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +202 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +86 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +59 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +206 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +7 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +806 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +512 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +140 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +780 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +18 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +852 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +93 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +231 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +304 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +113 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +42 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +218 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +116 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +422 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +281 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +184 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +476 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +249 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +204 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +88 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +146 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +250 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +351 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +1165 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +134 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +645 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +230 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +105 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +180 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +348 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +758 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +106 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +97 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +72 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +696 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +299 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +383 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +969 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +578 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +50 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +68 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +503 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +60 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +294 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +237 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +282 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +273 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +251 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +150 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +707 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +1233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +79 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +4 -0
- metadata +409 -5
- 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
@@ -0,0 +1,102 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.impl;
|
2
|
+
|
3
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
4
|
+
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
5
|
+
import sh.calaba.org.codehaus.jackson.map.deser.SettableAnyProperty;
|
6
|
+
import sh.calaba.org.codehaus.jackson.map.deser.SettableBeanProperty;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Simple container used for temporarily buffering a set of
|
10
|
+
* <code>PropertyValue</code>s.
|
11
|
+
* Using during construction of beans (and Maps) that use Creators,
|
12
|
+
* and hence need buffering before instance (that will have properties
|
13
|
+
* to assign values to) is constructed.
|
14
|
+
*/
|
15
|
+
public final class PropertyValueBuffer
|
16
|
+
{
|
17
|
+
final JsonParser _parser;
|
18
|
+
final DeserializationContext _context;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Buffer used for storing creator parameters for constructing
|
22
|
+
* instance
|
23
|
+
*/
|
24
|
+
final Object[] _creatorParameters;
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Number of creator parameters we are still missing.
|
28
|
+
*<p>
|
29
|
+
* NOTE: assumes there are no duplicates, for now.
|
30
|
+
*/
|
31
|
+
private int _paramsNeeded;
|
32
|
+
|
33
|
+
/**
|
34
|
+
* If we get non-creator parameters before or between
|
35
|
+
* creator parameters, those need to be buffered. Buffer
|
36
|
+
* is just a simple linked list
|
37
|
+
*/
|
38
|
+
private PropertyValue _buffered;
|
39
|
+
|
40
|
+
public PropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount)
|
41
|
+
{
|
42
|
+
_parser = jp;
|
43
|
+
_context = ctxt;
|
44
|
+
_paramsNeeded = paramCount;
|
45
|
+
_creatorParameters = new Object[paramCount];
|
46
|
+
}
|
47
|
+
|
48
|
+
public void inject(SettableBeanProperty[] injectableProperties)
|
49
|
+
{
|
50
|
+
for (int i = 0, len = injectableProperties.length; i < len; ++i) {
|
51
|
+
SettableBeanProperty prop = injectableProperties[i];
|
52
|
+
if (prop != null) {
|
53
|
+
// null since there is no POJO yet
|
54
|
+
_creatorParameters[i] = _context.findInjectableValue(prop.getInjectableValueId(),
|
55
|
+
prop, null);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
/**
|
61
|
+
* @param defaults If any of parameters requires nulls to be replaced with a non-null
|
62
|
+
* object (usually primitive types), this is a non-null array that has such replacement
|
63
|
+
* values (and nulls for cases where nulls are ok)
|
64
|
+
*/
|
65
|
+
protected final Object[] getParameters(Object[] defaults)
|
66
|
+
{
|
67
|
+
if (defaults != null) {
|
68
|
+
for (int i = 0, len = _creatorParameters.length; i < len; ++i) {
|
69
|
+
if (_creatorParameters[i] == null) {
|
70
|
+
Object value = defaults[i];
|
71
|
+
if (value != null) {
|
72
|
+
_creatorParameters[i] = value;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
return _creatorParameters;
|
78
|
+
}
|
79
|
+
|
80
|
+
protected PropertyValue buffered() { return _buffered; }
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @return True if we have received all creator parameters
|
84
|
+
*/
|
85
|
+
public boolean assignParameter(int index, Object value) {
|
86
|
+
_creatorParameters[index] = value;
|
87
|
+
return --_paramsNeeded <= 0;
|
88
|
+
}
|
89
|
+
|
90
|
+
public void bufferProperty(SettableBeanProperty prop, Object value) {
|
91
|
+
_buffered = new PropertyValue.Regular(_buffered, value, prop);
|
92
|
+
}
|
93
|
+
|
94
|
+
public void bufferAnyProperty(SettableAnyProperty prop, String propName, Object value) {
|
95
|
+
_buffered = new PropertyValue.Any(_buffered, value, prop, propName);
|
96
|
+
}
|
97
|
+
|
98
|
+
public void bufferMapProperty(Object key, Object value) {
|
99
|
+
_buffered = new PropertyValue.Map(_buffered, value, key);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.impl;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.util.*;
|
5
|
+
|
6
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
+
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
9
|
+
import sh.calaba.org.codehaus.jackson.map.deser.SettableBeanProperty;
|
10
|
+
import sh.calaba.org.codehaus.jackson.util.TokenBuffer;
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Object that is responsible for handling acrobatics related to
|
14
|
+
* deserializing "unwrapped" values; sets of properties that are
|
15
|
+
* embedded (inlined) as properties of parent JSON object.
|
16
|
+
*
|
17
|
+
* @since 1.9
|
18
|
+
*/
|
19
|
+
public class UnwrappedPropertyHandler
|
20
|
+
{
|
21
|
+
protected final ArrayList<SettableBeanProperty> _properties = new ArrayList<SettableBeanProperty>();
|
22
|
+
|
23
|
+
public UnwrappedPropertyHandler() { }
|
24
|
+
|
25
|
+
public void addProperty(SettableBeanProperty property) {
|
26
|
+
_properties.add(property);
|
27
|
+
}
|
28
|
+
|
29
|
+
public Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean,
|
30
|
+
TokenBuffer buffered)
|
31
|
+
throws IOException, JsonProcessingException
|
32
|
+
{
|
33
|
+
for (int i = 0, len = _properties.size(); i < len; ++i) {
|
34
|
+
SettableBeanProperty prop = _properties.get(i);
|
35
|
+
JsonParser jp = buffered.asParser();
|
36
|
+
jp.nextToken();
|
37
|
+
prop.deserializeAndSet(jp, ctxt, bean);
|
38
|
+
}
|
39
|
+
return bean;
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.impl;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
|
5
|
+
import sh.calaba.org.codehaus.jackson.map.BeanProperty;
|
6
|
+
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
7
|
+
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedMember;
|
8
|
+
import sh.calaba.org.codehaus.jackson.map.util.Annotations;
|
9
|
+
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Class that encapsulates details of value injection that occurs before
|
13
|
+
* deserialization of a POJO. Details include information needed to find
|
14
|
+
* injectable value (logical id) as well as method used for assigning
|
15
|
+
* value (setter or field)
|
16
|
+
*
|
17
|
+
* @since 1.9
|
18
|
+
*/
|
19
|
+
public class ValueInjector
|
20
|
+
extends BeanProperty.Std
|
21
|
+
{
|
22
|
+
/**
|
23
|
+
* Identifier used for looking up value to inject
|
24
|
+
*/
|
25
|
+
protected final Object _valueId;
|
26
|
+
|
27
|
+
public ValueInjector(String propertyName, JavaType type,
|
28
|
+
Annotations contextAnnotations, AnnotatedMember mutator,
|
29
|
+
Object valueId)
|
30
|
+
{
|
31
|
+
super(propertyName, type, contextAnnotations, mutator);
|
32
|
+
_valueId = valueId;
|
33
|
+
}
|
34
|
+
|
35
|
+
public Object findValue(DeserializationContext context, Object beanInstance)
|
36
|
+
{
|
37
|
+
return context.findInjectableValue(_valueId, this, beanInstance);
|
38
|
+
}
|
39
|
+
|
40
|
+
public void inject(DeserializationContext context, Object beanInstance)
|
41
|
+
throws IOException
|
42
|
+
{
|
43
|
+
_member.setValue(beanInstance, findValue(context, beanInstance));
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Contains those implementation classes of deserialization part of
|
3
|
+
* data binding that are not considered part of public or semi-public
|
4
|
+
* interfaces. Use of these classes by non-core classes is discouraged,
|
5
|
+
* although occasionally this may be necessary.
|
6
|
+
* Note that backwards-compatibility of these classes is not guaranteed
|
7
|
+
* between minor releases (but is between patch releases).
|
8
|
+
*/
|
9
|
+
package sh.calaba.org.codehaus.jackson.map.deser.impl;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.util.concurrent.atomic.AtomicBoolean;
|
5
|
+
|
6
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
+
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
9
|
+
|
10
|
+
public class AtomicBooleanDeserializer
|
11
|
+
extends StdScalarDeserializer<AtomicBoolean>
|
12
|
+
{
|
13
|
+
public AtomicBooleanDeserializer() { super(AtomicBoolean.class); }
|
14
|
+
|
15
|
+
@Override
|
16
|
+
public AtomicBoolean deserialize(JsonParser jp, DeserializationContext ctxt)
|
17
|
+
throws IOException, JsonProcessingException
|
18
|
+
{
|
19
|
+
// 16-Dec-2010, tatu: Should we actually convert null to null AtomicBoolean?
|
20
|
+
return new AtomicBoolean(_parseBooleanPrimitive(jp, ctxt));
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.util.concurrent.atomic.AtomicReference;
|
5
|
+
|
6
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
7
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
8
|
+
import sh.calaba.org.codehaus.jackson.map.*;
|
9
|
+
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
10
|
+
|
11
|
+
public class AtomicReferenceDeserializer
|
12
|
+
extends StdScalarDeserializer<AtomicReference<?>>
|
13
|
+
implements ResolvableDeserializer
|
14
|
+
{
|
15
|
+
/**
|
16
|
+
* Type of value that we reference
|
17
|
+
*/
|
18
|
+
protected final JavaType _referencedType;
|
19
|
+
|
20
|
+
protected final BeanProperty _property;
|
21
|
+
|
22
|
+
protected JsonDeserializer<?> _valueDeserializer;
|
23
|
+
|
24
|
+
/**
|
25
|
+
* @param referencedType Parameterization of this reference
|
26
|
+
*/
|
27
|
+
public AtomicReferenceDeserializer(JavaType referencedType, BeanProperty property)
|
28
|
+
{
|
29
|
+
super(AtomicReference.class);
|
30
|
+
_referencedType = referencedType;
|
31
|
+
_property = property;
|
32
|
+
}
|
33
|
+
|
34
|
+
@Override
|
35
|
+
public AtomicReference<?> deserialize(JsonParser jp, DeserializationContext ctxt)
|
36
|
+
throws IOException, JsonProcessingException
|
37
|
+
{
|
38
|
+
return new AtomicReference<Object>(_valueDeserializer.deserialize(jp, ctxt));
|
39
|
+
}
|
40
|
+
|
41
|
+
@Override
|
42
|
+
public void resolve(DeserializationConfig config, DeserializerProvider provider)
|
43
|
+
throws JsonMappingException
|
44
|
+
{
|
45
|
+
_valueDeserializer = provider.findValueDeserializer(config, _referencedType, _property);
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map.deser.std;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.util.Calendar;
|
5
|
+
import java.util.Date;
|
6
|
+
|
7
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
8
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
9
|
+
import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
|
10
|
+
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
11
|
+
|
12
|
+
@JacksonStdImpl
|
13
|
+
public class CalendarDeserializer
|
14
|
+
extends StdScalarDeserializer<Calendar>
|
15
|
+
{
|
16
|
+
/**
|
17
|
+
* We may know actual expected type; if so, it will be
|
18
|
+
* used for instantiation.
|
19
|
+
*/
|
20
|
+
protected final Class<? extends Calendar> _calendarClass;
|
21
|
+
|
22
|
+
public CalendarDeserializer() { this(null); }
|
23
|
+
public CalendarDeserializer(Class<? extends Calendar> cc) {
|
24
|
+
super(Calendar.class);
|
25
|
+
_calendarClass = cc;
|
26
|
+
}
|
27
|
+
|
28
|
+
@Override
|
29
|
+
public Calendar deserialize(JsonParser jp, DeserializationContext ctxt)
|
30
|
+
throws IOException, JsonProcessingException
|
31
|
+
{
|
32
|
+
Date d = _parseDate(jp, ctxt);
|
33
|
+
if (d == null) {
|
34
|
+
return null;
|
35
|
+
}
|
36
|
+
if (_calendarClass == null) {
|
37
|
+
return ctxt.constructCalendar(d);
|
38
|
+
}
|
39
|
+
try {
|
40
|
+
Calendar c = _calendarClass.newInstance();
|
41
|
+
c.setTimeInMillis(d.getTime());
|
42
|
+
return c;
|
43
|
+
} catch (Exception e) {
|
44
|
+
throw ctxt.instantiationException(_calendarClass, e);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,49 @@
|
|
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.map.annotate.JacksonStdImpl;
|
10
|
+
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
* @since 1.9 (renamed from 'sh.calaba.org.codehaus.jackson.map.deser.StdDeserializer#ClassDeserializer')
|
14
|
+
*/
|
15
|
+
@JacksonStdImpl
|
16
|
+
public class ClassDeserializer
|
17
|
+
extends StdScalarDeserializer<Class<?>>
|
18
|
+
{
|
19
|
+
public ClassDeserializer() { super(Class.class); }
|
20
|
+
|
21
|
+
@Override
|
22
|
+
public Class<?> deserialize(JsonParser jp, DeserializationContext ctxt)
|
23
|
+
throws IOException, JsonProcessingException
|
24
|
+
{
|
25
|
+
JsonToken curr = jp.getCurrentToken();
|
26
|
+
// Currently will only accept if given simple class name
|
27
|
+
if (curr == JsonToken.VALUE_STRING) {
|
28
|
+
String className = jp.getText();
|
29
|
+
// [JACKSON-597]: support primitive types (and void)
|
30
|
+
if (className.indexOf('.') < 0) {
|
31
|
+
if ("int".equals(className)) return Integer.TYPE;
|
32
|
+
if ("long".equals(className)) return Long.TYPE;
|
33
|
+
if ("float".equals(className)) return Float.TYPE;
|
34
|
+
if ("double".equals(className)) return Double.TYPE;
|
35
|
+
if ("boolean".equals(className)) return Boolean.TYPE;
|
36
|
+
if ("byte".equals(className)) return Byte.TYPE;
|
37
|
+
if ("char".equals(className)) return Character.TYPE;
|
38
|
+
if ("short".equals(className)) return Short.TYPE;
|
39
|
+
if ("void".equals(className)) return Void.TYPE;
|
40
|
+
}
|
41
|
+
try {
|
42
|
+
return Class.forName(jp.getText());
|
43
|
+
} catch (ClassNotFoundException e) {
|
44
|
+
throw ctxt.instantiationException(_valueClass, e);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
throw ctxt.mappingException(_valueClass, curr);
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,265 @@
|
|
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.util.*;
|
6
|
+
|
7
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
8
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
9
|
+
import sh.calaba.org.codehaus.jackson.JsonToken;
|
10
|
+
import sh.calaba.org.codehaus.jackson.map.*;
|
11
|
+
import sh.calaba.org.codehaus.jackson.map.annotate.JacksonStdImpl;
|
12
|
+
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
|
13
|
+
import sh.calaba.org.codehaus.jackson.map.deser.std.ContainerDeserializerBase;
|
14
|
+
import sh.calaba.org.codehaus.jackson.map.deser.std.StdValueInstantiator;
|
15
|
+
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedConstructor;
|
16
|
+
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedWithParams;
|
17
|
+
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Basic serializer that can take JSON "Array" structure and
|
21
|
+
* construct a {@link java.util.Collection} instance, with typed contents.
|
22
|
+
*<p>
|
23
|
+
* Note: for untyped content (one indicated by passing Object.class
|
24
|
+
* as the type), {@link UntypedObjectDeserializer} is used instead.
|
25
|
+
* It can also construct {@link java.util.List}s, but not with specific
|
26
|
+
* POJO types, only other containers and primitives/wrappers.
|
27
|
+
*
|
28
|
+
* @since 1.9 (renamed from 'sh.calaba.org.codehaus.jackson.map.deser.CollectionDeserializer)
|
29
|
+
*/
|
30
|
+
@JacksonStdImpl
|
31
|
+
public class CollectionDeserializer
|
32
|
+
extends ContainerDeserializerBase<Collection<Object>>
|
33
|
+
implements ResolvableDeserializer
|
34
|
+
{
|
35
|
+
// // Configuration
|
36
|
+
|
37
|
+
protected final JavaType _collectionType;
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Value deserializer.
|
41
|
+
*/
|
42
|
+
protected final JsonDeserializer<Object> _valueDeserializer;
|
43
|
+
|
44
|
+
/**
|
45
|
+
* If element instances have polymorphic type information, this
|
46
|
+
* is the type deserializer that can handle it
|
47
|
+
*/
|
48
|
+
protected final TypeDeserializer _valueTypeDeserializer;
|
49
|
+
|
50
|
+
// // Instance construction settings:
|
51
|
+
|
52
|
+
/**
|
53
|
+
* @since 1.9
|
54
|
+
*/
|
55
|
+
protected final ValueInstantiator _valueInstantiator;
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Deserializer that is used iff delegate-based creator is
|
59
|
+
* to be used for deserializing from JSON Object.
|
60
|
+
*/
|
61
|
+
protected JsonDeserializer<Object> _delegateDeserializer;
|
62
|
+
|
63
|
+
// NOTE: no PropertyBasedCreator, as JSON Arrays have no properties
|
64
|
+
|
65
|
+
/*
|
66
|
+
/**********************************************************
|
67
|
+
/* Life-cycle
|
68
|
+
/**********************************************************
|
69
|
+
*/
|
70
|
+
|
71
|
+
/**
|
72
|
+
* @deprecated Since 1.9, use variant that takes ValueInstantiator
|
73
|
+
*/
|
74
|
+
@Deprecated
|
75
|
+
protected CollectionDeserializer(JavaType collectionType, JsonDeserializer<Object> valueDeser,
|
76
|
+
TypeDeserializer valueTypeDeser,
|
77
|
+
Constructor<Collection<Object>> defCtor)
|
78
|
+
{
|
79
|
+
super(collectionType.getRawClass());
|
80
|
+
_collectionType = collectionType;
|
81
|
+
_valueDeserializer = valueDeser;
|
82
|
+
_valueTypeDeserializer = valueTypeDeser;
|
83
|
+
// not super-clean, but has to do...
|
84
|
+
StdValueInstantiator inst = new StdValueInstantiator(null, collectionType);
|
85
|
+
if (defCtor != null) {
|
86
|
+
AnnotatedConstructor aCtor = new AnnotatedConstructor(defCtor,
|
87
|
+
null, null);
|
88
|
+
inst.configureFromObjectSettings(aCtor, null, null, null, null);
|
89
|
+
}
|
90
|
+
_valueInstantiator = inst;
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* @since 1.9
|
95
|
+
*/
|
96
|
+
public CollectionDeserializer(JavaType collectionType, JsonDeserializer<Object> valueDeser,
|
97
|
+
TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)
|
98
|
+
{
|
99
|
+
super(collectionType.getRawClass());
|
100
|
+
_collectionType = collectionType;
|
101
|
+
_valueDeserializer = valueDeser;
|
102
|
+
_valueTypeDeserializer = valueTypeDeser;
|
103
|
+
_valueInstantiator = valueInstantiator;
|
104
|
+
}
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Copy-constructor that can be used by sub-classes to allow
|
108
|
+
* copy-on-write styling copying of settings of an existing instance.
|
109
|
+
*
|
110
|
+
* @since 1.9
|
111
|
+
*/
|
112
|
+
protected CollectionDeserializer(CollectionDeserializer src)
|
113
|
+
{
|
114
|
+
super(src._valueClass);
|
115
|
+
_collectionType = src._collectionType;
|
116
|
+
_valueDeserializer = src._valueDeserializer;
|
117
|
+
_valueTypeDeserializer = src._valueTypeDeserializer;
|
118
|
+
_valueInstantiator = src._valueInstantiator;
|
119
|
+
_delegateDeserializer = src._delegateDeserializer;
|
120
|
+
}
|
121
|
+
|
122
|
+
/*
|
123
|
+
/**********************************************************
|
124
|
+
/* Validation, post-processing (ResolvableDeserializer)
|
125
|
+
/**********************************************************
|
126
|
+
*/
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Method called to finalize setup of this deserializer,
|
130
|
+
* after deserializer itself has been registered. This
|
131
|
+
* is needed to handle recursive and transitive dependencies.
|
132
|
+
*/
|
133
|
+
@Override
|
134
|
+
public void resolve(DeserializationConfig config, DeserializerProvider provider)
|
135
|
+
throws JsonMappingException
|
136
|
+
{
|
137
|
+
// May need to resolve types for delegate-based creators:
|
138
|
+
if (_valueInstantiator.canCreateUsingDelegate()) {
|
139
|
+
JavaType delegateType = _valueInstantiator.getDelegateType();
|
140
|
+
if (delegateType == null) {
|
141
|
+
throw new IllegalArgumentException("Invalid delegate-creator definition for "+_collectionType
|
142
|
+
+": value instantiator ("+_valueInstantiator.getClass().getName()
|
143
|
+
+") returned true for 'canCreateUsingDelegate()', but null for 'getDelegateType()'");
|
144
|
+
}
|
145
|
+
AnnotatedWithParams delegateCreator = _valueInstantiator.getDelegateCreator();
|
146
|
+
// Need to create a temporary property to allow contextual deserializers:
|
147
|
+
// Note: unlike BeanDeserializer, we don't have an AnnotatedClass around; hence no annotations passed
|
148
|
+
BeanProperty.Std property = new BeanProperty.Std(null,
|
149
|
+
delegateType, null, delegateCreator);
|
150
|
+
_delegateDeserializer = findDeserializer(config, provider, delegateType, property);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
/*
|
155
|
+
/**********************************************************
|
156
|
+
/* ContainerDeserializerBase API
|
157
|
+
/**********************************************************
|
158
|
+
*/
|
159
|
+
|
160
|
+
@Override
|
161
|
+
public JavaType getContentType() {
|
162
|
+
return _collectionType.getContentType();
|
163
|
+
}
|
164
|
+
|
165
|
+
@Override
|
166
|
+
public JsonDeserializer<Object> getContentDeserializer() {
|
167
|
+
return _valueDeserializer;
|
168
|
+
}
|
169
|
+
|
170
|
+
/*
|
171
|
+
/**********************************************************
|
172
|
+
/* JsonDeserializer API
|
173
|
+
/**********************************************************
|
174
|
+
*/
|
175
|
+
|
176
|
+
@SuppressWarnings("unchecked")
|
177
|
+
@Override
|
178
|
+
public Collection<Object> deserialize(JsonParser jp, DeserializationContext ctxt)
|
179
|
+
throws IOException, JsonProcessingException
|
180
|
+
{
|
181
|
+
if (_delegateDeserializer != null) {
|
182
|
+
return (Collection<Object>) _valueInstantiator.createUsingDelegate(_delegateDeserializer.deserialize(jp, ctxt));
|
183
|
+
}
|
184
|
+
/* [JACKSON-620]: empty String may be ok; bit tricky to check, however, since
|
185
|
+
* there is also possibility of "auto-wrapping" of single-element arrays.
|
186
|
+
* Hence we only accept empty String here.
|
187
|
+
*/
|
188
|
+
if (jp.getCurrentToken() == JsonToken.VALUE_STRING) {
|
189
|
+
String str = jp.getText();
|
190
|
+
if (str.length() == 0) {
|
191
|
+
return (Collection<Object>) _valueInstantiator.createFromString(str);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
return deserialize(jp, ctxt, (Collection<Object>) _valueInstantiator.createUsingDefault());
|
195
|
+
}
|
196
|
+
|
197
|
+
@Override
|
198
|
+
public Collection<Object> deserialize(JsonParser jp, DeserializationContext ctxt,
|
199
|
+
Collection<Object> result)
|
200
|
+
throws IOException, JsonProcessingException
|
201
|
+
{
|
202
|
+
// Ok: must point to START_ARRAY (or equivalent)
|
203
|
+
if (!jp.isExpectedStartArrayToken()) {
|
204
|
+
return handleNonArray(jp, ctxt, result);
|
205
|
+
}
|
206
|
+
|
207
|
+
JsonDeserializer<Object> valueDes = _valueDeserializer;
|
208
|
+
JsonToken t;
|
209
|
+
final TypeDeserializer typeDeser = _valueTypeDeserializer;
|
210
|
+
|
211
|
+
while ((t = jp.nextToken()) != JsonToken.END_ARRAY) {
|
212
|
+
Object value;
|
213
|
+
|
214
|
+
if (t == JsonToken.VALUE_NULL) {
|
215
|
+
value = null;
|
216
|
+
} else if (typeDeser == null) {
|
217
|
+
value = valueDes.deserialize(jp, ctxt);
|
218
|
+
} else {
|
219
|
+
value = valueDes.deserializeWithType(jp, ctxt, typeDeser);
|
220
|
+
}
|
221
|
+
result.add(value);
|
222
|
+
}
|
223
|
+
return result;
|
224
|
+
}
|
225
|
+
|
226
|
+
@Override
|
227
|
+
public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt,
|
228
|
+
TypeDeserializer typeDeserializer)
|
229
|
+
throws IOException, JsonProcessingException
|
230
|
+
{
|
231
|
+
// In future could check current token... for now this should be enough:
|
232
|
+
return typeDeserializer.deserializeTypedFromArray(jp, ctxt);
|
233
|
+
}
|
234
|
+
|
235
|
+
/**
|
236
|
+
* Helper method called when current token is no START_ARRAY. Will either
|
237
|
+
* throw an exception, or try to handle value as if member of implicit
|
238
|
+
* array, depending on configuration.
|
239
|
+
*/
|
240
|
+
private final Collection<Object> handleNonArray(JsonParser jp, DeserializationContext ctxt,
|
241
|
+
Collection<Object> result)
|
242
|
+
throws IOException, JsonProcessingException
|
243
|
+
{
|
244
|
+
// [JACKSON-526]: implicit arrays from single values?
|
245
|
+
if (!ctxt.isEnabled(DeserializationConfig.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)) {
|
246
|
+
throw ctxt.mappingException(_collectionType.getRawClass());
|
247
|
+
}
|
248
|
+
JsonDeserializer<Object> valueDes = _valueDeserializer;
|
249
|
+
final TypeDeserializer typeDeser = _valueTypeDeserializer;
|
250
|
+
JsonToken t = jp.getCurrentToken();
|
251
|
+
|
252
|
+
Object value;
|
253
|
+
|
254
|
+
if (t == JsonToken.VALUE_NULL) {
|
255
|
+
value = null;
|
256
|
+
} else if (typeDeser == null) {
|
257
|
+
value = valueDes.deserialize(jp, ctxt);
|
258
|
+
} else {
|
259
|
+
value = valueDes.deserializeWithType(jp, ctxt, typeDeser);
|
260
|
+
}
|
261
|
+
result.add(value);
|
262
|
+
return result;
|
263
|
+
}
|
264
|
+
|
265
|
+
}
|