From 9e4292dae4ab63439315b3a4015085fe4913170e Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Fri, 6 Jan 2017 01:05:16 +0100 Subject: add `@lombok.Generated` to generated classes, methods and fields --- test/transform/resource/before/GeneratedGlobalOff.java | 5 +++++ test/transform/resource/before/GeneratedGlobalOffJavaxOn.java | 6 ++++++ test/transform/resource/before/GeneratedGlobalOffLombokOn.java | 6 ++++++ test/transform/resource/before/GeneratedJavaxOff.java | 5 +++++ test/transform/resource/before/GeneratedLombokOff.java | 5 +++++ 5 files changed, 27 insertions(+) create mode 100644 test/transform/resource/before/GeneratedGlobalOff.java create mode 100644 test/transform/resource/before/GeneratedGlobalOffJavaxOn.java create mode 100644 test/transform/resource/before/GeneratedGlobalOffLombokOn.java create mode 100644 test/transform/resource/before/GeneratedJavaxOff.java create mode 100644 test/transform/resource/before/GeneratedLombokOff.java (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/GeneratedGlobalOff.java b/test/transform/resource/before/GeneratedGlobalOff.java new file mode 100644 index 00000000..89dcff62 --- /dev/null +++ b/test/transform/resource/before/GeneratedGlobalOff.java @@ -0,0 +1,5 @@ +//CONF: lombok.addGeneratedAnnotation = false +class GeneratedGlobalOff { + @lombok.Getter + int x; +} diff --git a/test/transform/resource/before/GeneratedGlobalOffJavaxOn.java b/test/transform/resource/before/GeneratedGlobalOffJavaxOn.java new file mode 100644 index 00000000..dc7e9d8a --- /dev/null +++ b/test/transform/resource/before/GeneratedGlobalOffJavaxOn.java @@ -0,0 +1,6 @@ +//CONF: lombok.addGeneratedAnnotation = false +//CONF: lombok.addJavaxGeneratedAnnotation = true +class GeneratedGlobalOffJavaxOn { + @lombok.Getter + int x; +} diff --git a/test/transform/resource/before/GeneratedGlobalOffLombokOn.java b/test/transform/resource/before/GeneratedGlobalOffLombokOn.java new file mode 100644 index 00000000..39e80f7e --- /dev/null +++ b/test/transform/resource/before/GeneratedGlobalOffLombokOn.java @@ -0,0 +1,6 @@ +//CONF: lombok.addGeneratedAnnotation = false +//CONF: lombok.addLombokGeneratedAnnotation = true +class GeneratedGlobalOffLombokOn { + @lombok.Getter + int x; +} diff --git a/test/transform/resource/before/GeneratedJavaxOff.java b/test/transform/resource/before/GeneratedJavaxOff.java new file mode 100644 index 00000000..db7ee0d1 --- /dev/null +++ b/test/transform/resource/before/GeneratedJavaxOff.java @@ -0,0 +1,5 @@ +//CONF: lombok.addJavaxGeneratedAnnotation = false +class GeneratedJavaxOff { + @lombok.Getter + int x; +} diff --git a/test/transform/resource/before/GeneratedLombokOff.java b/test/transform/resource/before/GeneratedLombokOff.java new file mode 100644 index 00000000..53fcc462 --- /dev/null +++ b/test/transform/resource/before/GeneratedLombokOff.java @@ -0,0 +1,5 @@ +//CONF: lombok.addLombokGeneratedAnnotation = false +class GeneratedLombokOff { + @lombok.Getter + int x; +} -- cgit