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
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Interface for objects that implement pretty printer functionality, such
|
7
|
+
* as indentation.
|
8
|
+
* Pretty printers are used to add white space in output JSON content,
|
9
|
+
* to make results more human readable. Usually this means things like adding
|
10
|
+
* linefeeds and indentation.
|
11
|
+
*/
|
12
|
+
public interface PrettyPrinter
|
13
|
+
{
|
14
|
+
/*
|
15
|
+
/**********************************************************
|
16
|
+
/* First methods that act both as events, and expect
|
17
|
+
/* output for correct functioning (i.e something gets
|
18
|
+
/* output even when not pretty-printing)
|
19
|
+
/**********************************************************
|
20
|
+
*/
|
21
|
+
|
22
|
+
// // // Root-level handling:
|
23
|
+
|
24
|
+
/**
|
25
|
+
* Method called after a root-level value has been completely
|
26
|
+
* output, and before another value is to be output.
|
27
|
+
*<p>
|
28
|
+
* Default
|
29
|
+
* handling (without pretty-printing) will output a space, to
|
30
|
+
* allow values to be parsed correctly. Pretty-printer is
|
31
|
+
* to output some other suitable and nice-looking separator
|
32
|
+
* (tab(s), space(s), linefeed(s) or any combination thereof).
|
33
|
+
*/
|
34
|
+
public void writeRootValueSeparator(JsonGenerator jg)
|
35
|
+
throws IOException, JsonGenerationException;
|
36
|
+
|
37
|
+
// // Object handling
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Method called when an Object value is to be output, before
|
41
|
+
* any fields are output.
|
42
|
+
*<p>
|
43
|
+
* Default handling (without pretty-printing) will output
|
44
|
+
* the opening curly bracket.
|
45
|
+
* Pretty-printer is
|
46
|
+
* to output a curly bracket as well, but can surround that
|
47
|
+
* with other (white-space) decoration.
|
48
|
+
*/
|
49
|
+
public void writeStartObject(JsonGenerator jg)
|
50
|
+
throws IOException, JsonGenerationException;
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Method called after an Object value has been completely output
|
54
|
+
* (minus closing curly bracket).
|
55
|
+
*<p>
|
56
|
+
* Default handling (without pretty-printing) will output
|
57
|
+
* the closing curly bracket.
|
58
|
+
* Pretty-printer is
|
59
|
+
* to output a curly bracket as well, but can surround that
|
60
|
+
* with other (white-space) decoration.
|
61
|
+
*
|
62
|
+
* @param nrOfEntries Number of direct members of the array that
|
63
|
+
* have been output
|
64
|
+
*/
|
65
|
+
public void writeEndObject(JsonGenerator jg, int nrOfEntries)
|
66
|
+
throws IOException, JsonGenerationException;
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Method called after an object entry (field:value) has been completely
|
70
|
+
* output, and before another value is to be output.
|
71
|
+
*<p>
|
72
|
+
* Default handling (without pretty-printing) will output a single
|
73
|
+
* comma to separate the two. Pretty-printer is
|
74
|
+
* to output a comma as well, but can surround that with other
|
75
|
+
* (white-space) decoration.
|
76
|
+
*/
|
77
|
+
public void writeObjectEntrySeparator(JsonGenerator jg)
|
78
|
+
throws IOException, JsonGenerationException;
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Method called after an object field has been output, but
|
82
|
+
* before the value is output.
|
83
|
+
*<p>
|
84
|
+
* Default handling (without pretty-printing) will output a single
|
85
|
+
* colon to separate the two. Pretty-printer is
|
86
|
+
* to output a colon as well, but can surround that with other
|
87
|
+
* (white-space) decoration.
|
88
|
+
*/
|
89
|
+
public void writeObjectFieldValueSeparator(JsonGenerator jg)
|
90
|
+
throws IOException, JsonGenerationException;
|
91
|
+
|
92
|
+
// // // Array handling
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Method called when an Array value is to be output, before
|
96
|
+
* any member/child values are output.
|
97
|
+
*<p>
|
98
|
+
* Default handling (without pretty-printing) will output
|
99
|
+
* the opening bracket.
|
100
|
+
* Pretty-printer is
|
101
|
+
* to output a bracket as well, but can surround that
|
102
|
+
* with other (white-space) decoration.
|
103
|
+
*/
|
104
|
+
public void writeStartArray(JsonGenerator jg)
|
105
|
+
throws IOException, JsonGenerationException;
|
106
|
+
|
107
|
+
/**
|
108
|
+
* Method called after an Array value has been completely output
|
109
|
+
* (minus closing bracket).
|
110
|
+
*<p>
|
111
|
+
* Default handling (without pretty-printing) will output
|
112
|
+
* the closing bracket.
|
113
|
+
* Pretty-printer is
|
114
|
+
* to output a bracket as well, but can surround that
|
115
|
+
* with other (white-space) decoration.
|
116
|
+
*
|
117
|
+
* @param nrOfValues Number of direct members of the array that
|
118
|
+
* have been output
|
119
|
+
*/
|
120
|
+
public void writeEndArray(JsonGenerator jg, int nrOfValues)
|
121
|
+
throws IOException, JsonGenerationException;
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Method called after an array value has been completely
|
125
|
+
* output, and before another value is to be output.
|
126
|
+
*<p>
|
127
|
+
* Default handling (without pretty-printing) will output a single
|
128
|
+
* comma to separate the two. Pretty-printer is
|
129
|
+
* to output a comma as well, but can surround that with other
|
130
|
+
* (white-space) decoration.
|
131
|
+
*/
|
132
|
+
public void writeArrayValueSeparator(JsonGenerator jg)
|
133
|
+
throws IOException, JsonGenerationException;
|
134
|
+
|
135
|
+
/*
|
136
|
+
/**********************************************************
|
137
|
+
/* Then events that by default do not produce any output
|
138
|
+
/* but that are often overridden to add white space
|
139
|
+
/* in pretty-printing mode
|
140
|
+
/**********************************************************
|
141
|
+
*/
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Method called after array start marker has been output,
|
145
|
+
* and right before the first value is to be output.
|
146
|
+
* It is <b>not</b> called for arrays with no values.
|
147
|
+
*<p>
|
148
|
+
* Default handling does not output anything, but pretty-printer
|
149
|
+
* is free to add any white space decoration.
|
150
|
+
*/
|
151
|
+
public void beforeArrayValues(JsonGenerator jg)
|
152
|
+
throws IOException, JsonGenerationException;
|
153
|
+
|
154
|
+
/**
|
155
|
+
* Method called after object start marker has been output,
|
156
|
+
* and right before the field name of the first entry is
|
157
|
+
* to be output.
|
158
|
+
* It is <b>not</b> called for objects without entries.
|
159
|
+
*<p>
|
160
|
+
* Default handling does not output anything, but pretty-printer
|
161
|
+
* is free to add any white space decoration.
|
162
|
+
*/
|
163
|
+
public void beforeObjectEntries(JsonGenerator jg)
|
164
|
+
throws IOException, JsonGenerationException;
|
165
|
+
}
|
166
|
+
|
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson;
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Interface that defines how Jackson package can interact with efficient
|
5
|
+
* pre-serialized or lazily-serialized and reused String representations.
|
6
|
+
* Typically implementations store possible serialized version(s) so that
|
7
|
+
* serialization of String can be done more efficiently, especially when
|
8
|
+
* used multiple times.
|
9
|
+
*
|
10
|
+
* @since 1.7 (1.6 introduced implementation, but interface extracted later)
|
11
|
+
*
|
12
|
+
* @see sh.calaba.org.codehaus.jackson.io.SerializedString
|
13
|
+
*/
|
14
|
+
public interface SerializableString
|
15
|
+
{
|
16
|
+
/**
|
17
|
+
* Returns unquoted String that this object represents (and offers
|
18
|
+
* serialized forms for)
|
19
|
+
*/
|
20
|
+
public String getValue();
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Returns length of the (unquoted) String as characters.
|
24
|
+
* Functionally equvalent to:
|
25
|
+
*<pre>
|
26
|
+
* getValue().length();
|
27
|
+
*</pre>
|
28
|
+
*/
|
29
|
+
public int charLength();
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Returns JSON quoted form of the String, as character array. Result
|
33
|
+
* can be embedded as-is in textual JSON as property name or JSON String.
|
34
|
+
*/
|
35
|
+
public char[] asQuotedChars();
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Returns UTF-8 encoded version of unquoted String.
|
39
|
+
* Functionally equivalent to (but more efficient than):
|
40
|
+
*<pre>
|
41
|
+
* getValue().getBytes("UTF-8");
|
42
|
+
*</pre>
|
43
|
+
*/
|
44
|
+
public byte[] asUnquotedUTF8();
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Returns UTF-8 encoded version of JSON-quoted String.
|
48
|
+
* Functionally equivalent to (but more efficient than):
|
49
|
+
*<pre>
|
50
|
+
* new String(asQuotedChars()).getBytes("UTF-8");
|
51
|
+
*</pre>
|
52
|
+
*/
|
53
|
+
public byte[] asQuotedUTF8();
|
54
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson;
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Object that encapsulates version information of a component,
|
5
|
+
* and is return by {@link Versioned#version}.
|
6
|
+
*
|
7
|
+
* @since 1.6
|
8
|
+
*/
|
9
|
+
public class Version
|
10
|
+
implements Comparable<Version>
|
11
|
+
{
|
12
|
+
private final static Version UNKNOWN_VERSION = new Version(0, 0, 0, null);
|
13
|
+
|
14
|
+
protected final int _majorVersion;
|
15
|
+
|
16
|
+
protected final int _minorVersion;
|
17
|
+
|
18
|
+
protected final int _patchLevel;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Additional information for snapshot versions; null for non-snapshot
|
22
|
+
* (release) versions.
|
23
|
+
*/
|
24
|
+
protected final String _snapshotInfo;
|
25
|
+
|
26
|
+
public Version(int major, int minor, int patchLevel,
|
27
|
+
String snapshotInfo)
|
28
|
+
{
|
29
|
+
_majorVersion = major;
|
30
|
+
_minorVersion = minor;
|
31
|
+
_patchLevel = patchLevel;
|
32
|
+
_snapshotInfo = snapshotInfo;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Method returns canonical "not known" version, which is used as version
|
37
|
+
* in cases where actual version information is not known (instead of null).
|
38
|
+
*/
|
39
|
+
public static Version unknownVersion() { return UNKNOWN_VERSION; }
|
40
|
+
|
41
|
+
public boolean isUknownVersion() { return (this == UNKNOWN_VERSION); }
|
42
|
+
public boolean isSnapshot() { return (_snapshotInfo != null && _snapshotInfo.length() > 0); }
|
43
|
+
|
44
|
+
public int getMajorVersion() { return _majorVersion; }
|
45
|
+
public int getMinorVersion() { return _minorVersion; }
|
46
|
+
public int getPatchLevel() { return _patchLevel; }
|
47
|
+
|
48
|
+
@Override
|
49
|
+
public String toString()
|
50
|
+
{
|
51
|
+
StringBuilder sb = new StringBuilder();
|
52
|
+
sb.append(_majorVersion).append('.');
|
53
|
+
sb.append(_minorVersion).append('.');
|
54
|
+
sb.append(_patchLevel);
|
55
|
+
if (isSnapshot()) {
|
56
|
+
sb.append('-').append(_snapshotInfo);
|
57
|
+
}
|
58
|
+
return sb.toString();
|
59
|
+
}
|
60
|
+
|
61
|
+
@Override
|
62
|
+
public int hashCode() {
|
63
|
+
return _majorVersion + _minorVersion + _patchLevel;
|
64
|
+
}
|
65
|
+
|
66
|
+
@Override
|
67
|
+
public boolean equals(Object o)
|
68
|
+
{
|
69
|
+
if (o == this) return true;
|
70
|
+
if (o == null) return false;
|
71
|
+
if (o.getClass() != getClass()) return false;
|
72
|
+
Version other = (Version) o;
|
73
|
+
return (other._majorVersion == _majorVersion)
|
74
|
+
&& (other._minorVersion == _minorVersion)
|
75
|
+
&& (other._patchLevel == _patchLevel);
|
76
|
+
}
|
77
|
+
|
78
|
+
@Override
|
79
|
+
public int compareTo(Version other)
|
80
|
+
{
|
81
|
+
int diff = _majorVersion - other._majorVersion;
|
82
|
+
if (diff == 0) {
|
83
|
+
diff = _minorVersion - other._minorVersion;
|
84
|
+
if (diff == 0) {
|
85
|
+
diff = _patchLevel - other._patchLevel;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
return diff;
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson;
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Interface that those Jackson components that are explicitly versioned will implement.
|
5
|
+
* Intention is to allow both plug-in components (custom extensions) and applications and
|
6
|
+
* frameworks that use Jackson to detect exact version of Jackson in use.
|
7
|
+
* This may be useful for example for ensuring that proper Jackson version is deployed
|
8
|
+
* (beyond mechanisms that deployment system may have), as well as for possible
|
9
|
+
* workarounds.
|
10
|
+
*
|
11
|
+
* @since 1.6
|
12
|
+
*/
|
13
|
+
public interface Versioned {
|
14
|
+
/**
|
15
|
+
* Method called to detect version of the component that implements this interface;
|
16
|
+
* returned version should never be null, but may return specific "not available"
|
17
|
+
* instance (see {@link Version} for details).
|
18
|
+
*/
|
19
|
+
public Version version();
|
20
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.annotate;
|
2
|
+
|
3
|
+
import java.lang.annotation.ElementType;
|
4
|
+
import java.lang.annotation.Retention;
|
5
|
+
import java.lang.annotation.RetentionPolicy;
|
6
|
+
import java.lang.annotation.Target;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Meta-annotation (annotations used on other annotations)
|
10
|
+
* used for marking all annotations that are
|
11
|
+
* part of Jackson package. Can be used for recognizing all
|
12
|
+
* Jackson annotations generically, and in future also for
|
13
|
+
* passing other generic annotation configuration.
|
14
|
+
*/
|
15
|
+
@Target({ElementType.ANNOTATION_TYPE})
|
16
|
+
@Retention(RetentionPolicy.RUNTIME)
|
17
|
+
public @interface JacksonAnnotation
|
18
|
+
{
|
19
|
+
// for now, a pure tag annotation, no parameters
|
20
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.annotate;
|
2
|
+
|
3
|
+
import java.lang.annotation.ElementType;
|
4
|
+
import java.lang.annotation.Retention;
|
5
|
+
import java.lang.annotation.RetentionPolicy;
|
6
|
+
import java.lang.annotation.Target;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Marker annotation that can be used to define a non-static,
|
10
|
+
* no-argument method or member field as something of a reverse of
|
11
|
+
* {@link JsonAnySetter} method; basically being used like a
|
12
|
+
* getter but such that contents of the returned Map (type <b>must</b> be
|
13
|
+
* {@link java.util.Map}) are serialized as if they were actual properties
|
14
|
+
* of the bean that contains method/field with this annotations.
|
15
|
+
* As with {@link JsonAnySetter}, only one property should be annotated
|
16
|
+
* with this annotation.
|
17
|
+
*
|
18
|
+
* @since 1.6
|
19
|
+
*/
|
20
|
+
@Target(ElementType.METHOD)
|
21
|
+
@Retention(RetentionPolicy.RUNTIME)
|
22
|
+
@JacksonAnnotation
|
23
|
+
public @interface JsonAnyGetter
|
24
|
+
{
|
25
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.annotate;
|
2
|
+
|
3
|
+
import java.lang.annotation.ElementType;
|
4
|
+
import java.lang.annotation.Retention;
|
5
|
+
import java.lang.annotation.RetentionPolicy;
|
6
|
+
import java.lang.annotation.Target;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* Marker annotation that can be used to define a non-static,
|
10
|
+
* single-argument method, to be used as a "fallback" handler
|
11
|
+
* for all otherwise unrecognized properties found from Json content.
|
12
|
+
* It is similar to {@link javax.xml.bind.annotation.XmlAnyElement}
|
13
|
+
* in behavior; and can only be used to denote a single property
|
14
|
+
* per type.
|
15
|
+
*<p>
|
16
|
+
* If used, all otherwise unmapped key-value pairs from Json Object
|
17
|
+
* structs are added to the property (of type Map or bean).
|
18
|
+
*/
|
19
|
+
@Target(ElementType.METHOD)
|
20
|
+
@Retention(RetentionPolicy.RUNTIME)
|
21
|
+
@JacksonAnnotation
|
22
|
+
public @interface JsonAnySetter
|
23
|
+
{
|
24
|
+
}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.annotate;
|
2
|
+
|
3
|
+
import java.lang.annotation.ElementType;
|
4
|
+
import java.lang.annotation.Retention;
|
5
|
+
import java.lang.annotation.RetentionPolicy;
|
6
|
+
import java.lang.annotation.Target;
|
7
|
+
import java.lang.reflect.Member;
|
8
|
+
import java.lang.reflect.Modifier;
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Class annotation that can be used to define which kinds of Methods
|
12
|
+
* are to be detected by auto-detection.
|
13
|
+
* Auto-detection means using name conventions
|
14
|
+
* and/or signature templates to find methods to use for data binding.
|
15
|
+
* For example, so-called "getters" can be auto-detected by looking for
|
16
|
+
* public member methods that return a value, do not take argument,
|
17
|
+
* and have prefix "get" in their name.
|
18
|
+
*<p>
|
19
|
+
* Pseudo-value <code>NONE</code> means that all auto-detection is disabled
|
20
|
+
* for the <b>specific</b> class that annotation is applied to (including
|
21
|
+
* its super-types, but only when resolving that class).
|
22
|
+
* Pseudo-value <code>ALWAYS</code> means that auto-detection is enabled
|
23
|
+
* for all method types for the class in similar way.
|
24
|
+
*<p>
|
25
|
+
* The default value is <code>ALWAYS</code>: that is, by default, auto-detection
|
26
|
+
* is enabled for all classes unless instructed otherwise.
|
27
|
+
*<p>
|
28
|
+
* Starting with version 1.5, it is also possible to use more fine-grained
|
29
|
+
* definitions, to basically define minimum visibility level needed. Defaults
|
30
|
+
* are different for different types (getters need to be public; setters can
|
31
|
+
* have any access modifier, for example).
|
32
|
+
*/
|
33
|
+
@Target(ElementType.TYPE)
|
34
|
+
@Retention(RetentionPolicy.RUNTIME)
|
35
|
+
@JacksonAnnotation
|
36
|
+
public @interface JsonAutoDetect
|
37
|
+
{
|
38
|
+
/**
|
39
|
+
* Enumeration for possible visibility thresholds (minimum visibility)
|
40
|
+
* that can be used to limit which methods (and fields) are
|
41
|
+
* auto-detected.
|
42
|
+
*
|
43
|
+
* @since 1.5
|
44
|
+
*/
|
45
|
+
public enum Visibility {
|
46
|
+
/**
|
47
|
+
* Value that means that all kinds of access modifiers are acceptable,
|
48
|
+
* from private to public.
|
49
|
+
*/
|
50
|
+
ANY,
|
51
|
+
/**
|
52
|
+
* Value that means that any other access modifier other than 'private'
|
53
|
+
* is considered auto-detectable.
|
54
|
+
*/
|
55
|
+
NON_PRIVATE,
|
56
|
+
/**
|
57
|
+
* Value that means access modifiers 'protected' and 'public' are
|
58
|
+
* auto-detectable (and 'private' and "package access" == no modifiers
|
59
|
+
* are not)
|
60
|
+
*/
|
61
|
+
PROTECTED_AND_PUBLIC,
|
62
|
+
/**
|
63
|
+
* Value to indicate that only 'public' access modifier is considered
|
64
|
+
* auto-detectable.
|
65
|
+
*/
|
66
|
+
PUBLIC_ONLY,
|
67
|
+
/**
|
68
|
+
* Value that indicates that no access modifiers are auto-detectable:
|
69
|
+
* this can be used to explicitly disable auto-detection for specified
|
70
|
+
* types.
|
71
|
+
*/
|
72
|
+
NONE,
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Value that indicates that default visibility level (whatever it is,
|
76
|
+
* depends on context) is to be used. This usually means that inherited
|
77
|
+
* value (from parent visibility settings) is to be used.
|
78
|
+
*/
|
79
|
+
DEFAULT;
|
80
|
+
|
81
|
+
public boolean isVisible(Member m) {
|
82
|
+
switch (this) {
|
83
|
+
case ANY:
|
84
|
+
return true;
|
85
|
+
case NONE:
|
86
|
+
return false;
|
87
|
+
case NON_PRIVATE:
|
88
|
+
return !Modifier.isPrivate(m.getModifiers());
|
89
|
+
case PROTECTED_AND_PUBLIC:
|
90
|
+
if (Modifier.isProtected(m.getModifiers())) {
|
91
|
+
return true;
|
92
|
+
}
|
93
|
+
// fall through to public case:
|
94
|
+
case PUBLIC_ONLY:
|
95
|
+
return Modifier.isPublic(m.getModifiers());
|
96
|
+
}
|
97
|
+
return false;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Types of property elements (getters, setters, fields, creators) that
|
103
|
+
* can be auto-detected.
|
104
|
+
* NOTE: as of 1.5, it is recommended that instead of defining this property,
|
105
|
+
* distinct visibility properties are used instead. This because levels
|
106
|
+
* used with this method are not explicit, but global defaults that differ for different
|
107
|
+
* methods. As such, this property can be considered <b>deprecated</b> and
|
108
|
+
* only retained for backwards compatibility.
|
109
|
+
*/
|
110
|
+
JsonMethod[] value() default { JsonMethod.ALL };
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Minimum visibility required for auto-detecting regular getter methods.
|
114
|
+
*
|
115
|
+
* @since 1.5
|
116
|
+
*/
|
117
|
+
Visibility getterVisibility() default Visibility.DEFAULT;
|
118
|
+
|
119
|
+
/**
|
120
|
+
* Minimum visibility required for auto-detecting is-getter methods.
|
121
|
+
*
|
122
|
+
* @since 1.5
|
123
|
+
*/
|
124
|
+
Visibility isGetterVisibility() default Visibility.DEFAULT;
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Minimum visibility required for auto-detecting setter methods.
|
128
|
+
*
|
129
|
+
* @since 1.5
|
130
|
+
*/
|
131
|
+
Visibility setterVisibility() default Visibility.DEFAULT;
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Minimum visibility required for auto-detecting Creator methods,
|
135
|
+
* except for no-argument constructors (which are always detected
|
136
|
+
* no matter what).
|
137
|
+
*
|
138
|
+
* @since 1.5
|
139
|
+
*/
|
140
|
+
Visibility creatorVisibility() default Visibility.DEFAULT;
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Minimum visibility required for auto-detecting member fields.
|
144
|
+
*
|
145
|
+
* @since 1.5
|
146
|
+
*/
|
147
|
+
Visibility fieldVisibility() default Visibility.DEFAULT;
|
148
|
+
}
|