diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-01-06 01:05:16 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-01-06 01:05:16 +0100 |
commit | 9e4292dae4ab63439315b3a4015085fe4913170e (patch) | |
tree | ab1bf4fa3109d333e81db6395474a7372a8963b8 /test/transform/resource/after-delombok/DataWithGetter.java | |
parent | d1ee4d5809663098de525bb096145bbc367c2831 (diff) | |
download | lombok-9e4292dae4ab63439315b3a4015085fe4913170e.tar.gz lombok-9e4292dae4ab63439315b3a4015085fe4913170e.tar.bz2 lombok-9e4292dae4ab63439315b3a4015085fe4913170e.zip |
add `@lombok.Generated` to generated classes, methods and fields
Diffstat (limited to 'test/transform/resource/after-delombok/DataWithGetter.java')
-rw-r--r-- | test/transform/resource/after-delombok/DataWithGetter.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/DataWithGetter.java b/test/transform/resource/after-delombok/DataWithGetter.java index fb51e262..c93cc10c 100644 --- a/test/transform/resource/after-delombok/DataWithGetter.java +++ b/test/transform/resource/after-delombok/DataWithGetter.java @@ -5,22 +5,26 @@ class DataWithGetter { @java.beans.ConstructorProperties({"z"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public DataWithGetter(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 DataWithGetter)) return false; @@ -35,12 +39,14 @@ class DataWithGetter { } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated protected boolean canEqual(final java.lang.Object other) { return other instanceof DataWithGetter; } @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public int hashCode() { final int PRIME = 59; int result = 1; @@ -53,21 +59,25 @@ class DataWithGetter { @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public java.lang.String toString() { return "DataWithGetter(x=" + this.getX() + ", y=" + this.getY() + ", z=" + this.getZ() + ")"; } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public int getX() { return this.x; } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public int getY() { return this.y; } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") + @lombok.Generated public String getZ() { return this.z; } |