aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherPlain.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/WitherPlain.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/WitherPlain.java')
-rw-r--r--test/transform/resource/after-delombok/WitherPlain.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherPlain.java b/test/transform/resource/after-delombok/WitherPlain.java
index a2e947bd..548ff299 100644
--- a/test/transform/resource/after-delombok/WitherPlain.java
+++ b/test/transform/resource/after-delombok/WitherPlain.java
@@ -6,10 +6,12 @@ class WitherPlain {
this.foo = foo;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public WitherPlain withI(final int i) {
return this.i == i ? this : new WitherPlain(i, this.foo);
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public WitherPlain withFoo(final int foo) {
return this.foo == foo ? this : new WitherPlain(this.i, foo);
}