mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
[i1014] Only add lombok.Generated if it is explicitly turned on
This commit is contained in:
1 parent
b42fef8edc
commit
70f77f928a
271 files changed
+870
-1584
No files matched your search
@@ -4,20 +4,17 @@ class DataIgnore {
|
||||
@java.beans.ConstructorProperties({"x"})
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public DataIgnore(final int x) {
|
||||
this.x = x;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public int getX() {
|
||||
return this.x;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof DataIgnore)) return false;
|
||||
@@ -28,14 +25,12 @@ class DataIgnore {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof DataIgnore;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
@@ -45,8 +40,7 @@ class DataIgnore {
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public java.lang.String toString() {
|
||||
return "DataIgnore(x=" + this.getX() + ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user