diff options
Diffstat (limited to 'test')
3 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java new file mode 100644 index 00000000..9babf443 --- /dev/null +++ b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java @@ -0,0 +1,10 @@ +// skip-compare-contents +@lombok.EqualsAndHashCode(of={"y"}) +final class EqualsAndHashCodeWarnOf { + int x; +} + +@lombok.EqualsAndHashCode(exclude={"y"}) +final class EqualsAndHashCodeWarnExclude { + int x; +} diff --git a/test/transform/resource/messages-delombok/EqualsAndHashCodeOfAndExcludeWarn.java.messages b/test/transform/resource/messages-delombok/EqualsAndHashCodeOfAndExcludeWarn.java.messages new file mode 100644 index 00000000..2c4fbd68 --- /dev/null +++ b/test/transform/resource/messages-delombok/EqualsAndHashCodeOfAndExcludeWarn.java.messages @@ -0,0 +1,2 @@ +1 This field does not exist. +6 This field does not exist, or would have been excluded anyway.
\ No newline at end of file diff --git a/test/transform/resource/messages-ecj/EqualsAndHashCodeOfAndExcludeWarn.java.messages b/test/transform/resource/messages-ecj/EqualsAndHashCodeOfAndExcludeWarn.java.messages new file mode 100644 index 00000000..2c4fbd68 --- /dev/null +++ b/test/transform/resource/messages-ecj/EqualsAndHashCodeOfAndExcludeWarn.java.messages @@ -0,0 +1,2 @@ +1 This field does not exist. +6 This field does not exist, or would have been excluded anyway.
\ No newline at end of file |