aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DataWithGetter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-12-04 21:41:22 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-12-04 21:41:47 +0100
commit9aac454aecafa2ea831af914161326295db5e481 (patch)
treeed16cb070314a9fa6c5f1b442e9349735cb3bd7b /test/transform/resource/after-delombok/DataWithGetter.java
parentd7c019c07c3851fa0c89b3080da6c08d021fd272 (diff)
downloadlombok-9aac454aecafa2ea831af914161326295db5e481.tar.gz
lombok-9aac454aecafa2ea831af914161326295db5e481.tar.bz2
lombok-9aac454aecafa2ea831af914161326295db5e481.zip
fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.
Diffstat (limited to 'test/transform/resource/after-delombok/DataWithGetter.java')
-rw-r--r--test/transform/resource/after-delombok/DataWithGetter.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/transform/resource/after-delombok/DataWithGetter.java b/test/transform/resource/after-delombok/DataWithGetter.java
index 85e698df..b4107bb3 100644
--- a/test/transform/resource/after-delombok/DataWithGetter.java
+++ b/test/transform/resource/after-delombok/DataWithGetter.java
@@ -2,25 +2,20 @@ class DataWithGetter {
private int x;
private int y;
private final String z;
- @java.beans.ConstructorProperties({"z"})
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public DataWithGetter(final String z) {
this.z = z;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public void setX(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public void setY(final int y) {
this.y = y;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataWithGetter)) return false;
@@ -34,13 +29,11 @@ class DataWithGetter {
return true;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataWithGetter;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -52,22 +45,18 @@ class DataWithGetter {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "DataWithGetter(x=" + this.getX() + ", y=" + this.getY() + ", z=" + this.getZ() + ")";
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public int getY() {
return this.y;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public String getZ() {
return this.z;
}