mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
[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:
1 parent
7efbecfe49
commit
a7bd812893
193 files changed
+1199
-613
No files matched your search
@@ -3,6 +3,7 @@ class ToString1 {
|
||||
String name;
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public java.lang.String toString() {
|
||||
return "ToString1(x=" + this.x + ", name=" + this.name + ")";
|
||||
}
|
||||
@@ -12,6 +13,7 @@ class ToString2 {
|
||||
String name;
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public java.lang.String toString() {
|
||||
return "ToString2(x=" + this.x + ", name=" + this.name + ")";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user