[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.

This commit is contained in:
Reinier Zwitserloot committed 2015-01-30 15:43:41 +01:00
1 parent 7efbecfe49
commit a7bd812893
193 files changed
+1199 -613

No files matched your search

@@ -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;
}