aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-20 15:25:08 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-28 16:21:39 +0100
commite95680a76733c22ee5937a586ee50c703d5ba621 (patch)
tree3eaefce07c41760468c3c2a17c86297e2304a730 /test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java
parentfa70b194aa7db62bdbc4cc759a606f97fe50fc92 (diff)
downloadlombok-e95680a76733c22ee5937a586ee50c703d5ba621.tar.gz
lombok-e95680a76733c22ee5937a586ee50c703d5ba621.tar.bz2
lombok-e95680a76733c22ee5937a586ee50c703d5ba621.zip
[issue #2221] [issue #788] Lombok now adds nullity annotations.
Which 'flavour' is defined in lombok.config; applied to toString, equals, canEqual, and plural-form of `@Singular`.
Diffstat (limited to 'test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java')
-rw-r--r--test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java b/test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java
deleted file mode 100644
index 4781839d..00000000
--- a/test/transform/resource/after-ecj/EqualsAndHashCodeWithNNBD.java
+++ /dev/null
@@ -1,28 +0,0 @@
-import javax.annotation.ParametersAreNonnullByDefault;
-@ParametersAreNonnullByDefault class EqualsAndHashCodeWithNNBD {
- static @lombok.EqualsAndHashCode @org.eclipse.jdt.annotation.NonNullByDefault class Inner {
- Inner() {
- super();
- }
- public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.@javax.annotation.Nullable @org.eclipse.jdt.annotation.Nullable Object o) {
- if ((o == this))
- return true;
- if ((! (o instanceof EqualsAndHashCodeWithNNBD.Inner)))
- return false;
- final EqualsAndHashCodeWithNNBD.Inner other = (EqualsAndHashCodeWithNNBD.Inner) o;
- if ((! other.canEqual((java.lang.Object) this)))
- return false;
- return true;
- }
- protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
- return (other instanceof EqualsAndHashCodeWithNNBD.Inner);
- }
- public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
- final int result = 1;
- return result;
- }
- }
- EqualsAndHashCodeWithNNBD() {
- super();
- }
-} \ No newline at end of file