mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +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
@@ -5,26 +5,22 @@ class DataWithGetterNone {
|
||||
@java.beans.ConstructorProperties({"z"})
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public DataWithGetterNone(final String z) {
|
||||
this.z = z;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public void setX(final int x) {
|
||||
this.x = x;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public void setY(final int y) {
|
||||
this.y = y;
|
||||
}
|
||||
@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 DataWithGetterNone)) return false;
|
||||
@@ -39,14 +35,12 @@ class DataWithGetterNone {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof DataWithGetterNone;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
@@ -59,8 +53,7 @@ class DataWithGetterNone {
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@lombok.Generated
|
||||
public java.lang.String toString() {
|
||||
return "DataWithGetterNone(x=" + this.x + ", y=" + this.y + ", z=" + this.z + ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user