aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterOnClass.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/GetterOnClass.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/GetterOnClass.java')
-rw-r--r--test/transform/resource/after-delombok/GetterOnClass.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/GetterOnClass.java b/test/transform/resource/after-delombok/GetterOnClass.java
index bd15ce35..a509f5cb 100644
--- a/test/transform/resource/after-delombok/GetterOnClass.java
+++ b/test/transform/resource/after-delombok/GetterOnClass.java
@@ -2,6 +2,7 @@ class GetterOnClass1 {
boolean isNone;
boolean isPublic;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public boolean isPublic() {
return this.isPublic;
}
@@ -11,10 +12,12 @@ class GetterOnClass2 {
boolean isProtected;
boolean isPackage;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
protected boolean isProtected() {
return this.isProtected;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
boolean isPackage() {
return this.isPackage;
}
@@ -23,6 +26,7 @@ class GetterOnClass3 {
boolean isNone;
boolean isPackage;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
boolean isPackage() {
return this.isPackage;
}
@@ -31,6 +35,7 @@ class GetterOnClass4 {
boolean isNone;
boolean isPrivate;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private boolean isPrivate() {
return this.isPrivate;
}
@@ -39,6 +44,7 @@ class GetterOnClass5 {
boolean isNone;
boolean isPublic;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public boolean isPublic() {
return this.isPublic;
}
@@ -48,11 +54,13 @@ class GetterOnClass6 {
@lombok.NonNull
String nonNull;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public String getCouldBeNull() {
return this.couldBeNull;
}
@lombok.NonNull
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public String getNonNull() {
return this.nonNull;
}