From 42f36e66fec9554205ed7caaab33c1c7be0db90b Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 7 May 2019 00:08:49 +0200 Subject: [fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy jackson’s `@JsonProperty`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stubs/com/fasterxml/jackson/annotation/JsonProperty.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java (limited to 'test/stubs/com/fasterxml/jackson') diff --git a/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java b/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java new file mode 100644 index 00000000..bba58a99 --- /dev/null +++ b/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java @@ -0,0 +1,12 @@ +package com.fasterxml.jackson.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) +@Retention(RetentionPolicy.RUNTIME) +public @interface JsonProperty { + String value(); +} -- cgit