aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithAccessors.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/BuilderWithAccessors.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/BuilderWithAccessors.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderWithAccessors.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithAccessors.java b/test/transform/resource/after-delombok/BuilderWithAccessors.java
index 503c33be..74914453 100644
--- a/test/transform/resource/after-delombok/BuilderWithAccessors.java
+++ b/test/transform/resource/after-delombok/BuilderWithAccessors.java
@@ -4,6 +4,7 @@ class BuilderWithAccessors {
private int _foo;
private int __bar;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
BuilderWithAccessors(final int plower, final int upper, final int foo, final int _bar) {
this.plower = plower;
this.pUpper = upper;
@@ -11,6 +12,7 @@ class BuilderWithAccessors {
this.__bar = _bar;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public static class BuilderWithAccessorsBuilder {
private int plower;
private int upper;
@@ -18,47 +20,62 @@ class BuilderWithAccessors {
private int _bar;
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
BuilderWithAccessorsBuilder() {
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public BuilderWithAccessorsBuilder plower(final int plower) {
this.plower = plower;
return this;
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public BuilderWithAccessorsBuilder upper(final int upper) {
this.upper = upper;
return this;
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public BuilderWithAccessorsBuilder foo(final int foo) {
this.foo = foo;
return this;
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public BuilderWithAccessorsBuilder _bar(final int _bar) {
this._bar = _bar;
return this;
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public BuilderWithAccessors build() {
return new BuilderWithAccessors(plower, upper, foo, _bar);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "BuilderWithAccessors.BuilderWithAccessorsBuilder(plower=" + this.plower + ", upper=" + this.upper + ", foo=" + this.foo + ", _bar=" + this._bar + ")";
}
}
@java.lang.SuppressWarnings("all")
+
+ @javax.annotation.Generated("lombok")
public static BuilderWithAccessorsBuilder builder() {
return new BuilderWithAccessorsBuilder();
}