aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WitherAccessLevel.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-ecj/WitherAccessLevel.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-ecj/WitherAccessLevel.java')
-rw-r--r--test/transform/resource/after-ecj/WitherAccessLevel.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/resource/after-ecj/WitherAccessLevel.java b/test/transform/resource/after-ecj/WitherAccessLevel.java
index 09a2e514..18b896df 100644
--- a/test/transform/resource/after-ecj/WitherAccessLevel.java
+++ b/test/transform/resource/after-ecj/WitherAccessLevel.java
@@ -9,19 +9,19 @@ class WitherAccessLevel {
WitherAccessLevel(boolean isNone, boolean isPrivate, boolean isPackage, boolean isProtected, boolean isPublic, boolean value) {
super();
}
- private @java.lang.SuppressWarnings("all") WitherAccessLevel withPrivate(final boolean isPrivate) {
+ private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherAccessLevel withPrivate(final boolean isPrivate) {
return ((this.isPrivate == isPrivate) ? this : new WitherAccessLevel(this.isNone, isPrivate, this.isPackage, this.isProtected, this.isPublic, this.value));
}
- @java.lang.SuppressWarnings("all") WitherAccessLevel withPackage(final boolean isPackage) {
+ @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherAccessLevel withPackage(final boolean isPackage) {
return ((this.isPackage == isPackage) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, isPackage, this.isProtected, this.isPublic, this.value));
}
- protected @java.lang.SuppressWarnings("all") WitherAccessLevel withProtected(final boolean isProtected) {
+ protected @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherAccessLevel withProtected(final boolean isProtected) {
return ((this.isProtected == isProtected) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, isProtected, this.isPublic, this.value));
}
- public @java.lang.SuppressWarnings("all") WitherAccessLevel withPublic(final boolean isPublic) {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherAccessLevel withPublic(final boolean isPublic) {
return ((this.isPublic == isPublic) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, isPublic, this.value));
}
- public @java.lang.SuppressWarnings("all") WitherAccessLevel withValue(final boolean value) {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") WitherAccessLevel withValue(final boolean value) {
return ((this.value == value) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, this.isPublic, value));
}
}