aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterLazyEahcToString.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 15:43:41 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 15:43:41 +0100
commita7bd812893ecb1fa603229d81c924823426ea973 (patch)
tree93ff3584b63d89752c7bf7bc4ed97e0ab567c5d1 /test/transform/resource/after-delombok/GetterLazyEahcToString.java
parent7efbecfe49af452f117e6a16c969a4b2071e80cd (diff)
downloadlombok-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/GetterLazyEahcToString.java')
-rw-r--r--test/transform/resource/after-delombok/GetterLazyEahcToString.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyEahcToString.java b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
index 65c63fba..c89b2980 100644
--- a/test/transform/resource/after-delombok/GetterLazyEahcToString.java
+++ b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
@@ -5,6 +5,7 @@ class GetterLazyEahcToString {
@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 GetterLazyEahcToString)) return false;
@@ -20,12 +21,15 @@ class GetterLazyEahcToString {
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof GetterLazyEahcToString;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -38,11 +42,14 @@ class GetterLazyEahcToString {
@java.lang.Override
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "GetterLazyEahcToString(value=" + this.getValue() + ", value2=" + this.value2 + ")";
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public String getValue() {
java.lang.Object value = this.value.get();
if (value == null) {
@@ -59,6 +66,8 @@ class GetterLazyEahcToString {
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public String getValue2() {
return this.value2;
}