diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-30 15:43:41 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-30 15:43:41 +0100 |
commit | a7bd812893ecb1fa603229d81c924823426ea973 (patch) | |
tree | 93ff3584b63d89752c7bf7bc4ed97e0ab567c5d1 /test/transform/resource/after-delombok/ValueExperimental.java | |
parent | 7efbecfe49af452f117e6a16c969a4b2071e80cd (diff) | |
download | lombok-a7bd812893ecb1fa603229d81c924823426ea973.tar.gz lombok-a7bd812893ecb1fa603229d81c924823426ea973.tar.bz2 lombok-a7bd812893ecb1fa603229d81c924823426ea973.zip |
[i623] added eclipse code for generating @javax.annotation.Generated, and refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
Diffstat (limited to 'test/transform/resource/after-delombok/ValueExperimental.java')
-rw-r--r-- | test/transform/resource/after-delombok/ValueExperimental.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValueExperimental.java b/test/transform/resource/after-delombok/ValueExperimental.java index 77a48ec9..20e7a9f4 100644 --- a/test/transform/resource/after-delombok/ValueExperimental.java +++ b/test/transform/resource/after-delombok/ValueExperimental.java @@ -1,9 +1,11 @@ final class ValueExperimental1 { @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public ValueExperimental1() { } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof ValueExperimental1)) return false; @@ -11,22 +13,26 @@ final class ValueExperimental1 { } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public int hashCode() { int result = 1; return result; } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public java.lang.String toString() { return "ValueExperimental1()"; } } final class ValueExperimental2 { @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public ValueExperimental2() { } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof ValueExperimental2)) return false; @@ -34,12 +40,14 @@ final class ValueExperimental2 { } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public int hashCode() { int result = 1; return result; } @java.lang.Override @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") public java.lang.String toString() { return "ValueExperimental2()"; } |