From 9ad2bd563b001c0742d767fea9ddaaeb60400ec7 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 8 Jan 2020 01:06:35 +0100 Subject: [fixes #788] lombok generated equals method plus a non-null-by-default annotation no longer clash. --- test/transform/resource/before/EqualsAndHashCodeWithNNBD.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/transform/resource/before/EqualsAndHashCodeWithNNBD.java (limited to 'test/transform/resource/before/EqualsAndHashCodeWithNNBD.java') diff --git a/test/transform/resource/before/EqualsAndHashCodeWithNNBD.java b/test/transform/resource/before/EqualsAndHashCodeWithNNBD.java new file mode 100644 index 00000000..dc86cb55 --- /dev/null +++ b/test/transform/resource/before/EqualsAndHashCodeWithNNBD.java @@ -0,0 +1,8 @@ +// version 8: +import javax.annotation.ParametersAreNonnullByDefault; +@ParametersAreNonnullByDefault +class EqualsAndHashCodeWithNNBD { + @lombok.EqualsAndHashCode @org.eclipse.jdt.annotation.NonNullByDefault + static class Inner { + } +} -- cgit