diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-12-19 11:44:31 +0100 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2020-12-20 14:03:28 +0100 |
commit | 626c33255bbac12ddab72dda7de2447132f29ae4 (patch) | |
tree | 2d4ad6ba4229cf9a6feb1e4c6c81286ab29ae702 /test/transform/resource/after-ecj | |
parent | f17dd036384242971546bc443749ad527b8cd21c (diff) | |
download | lombok-626c33255bbac12ddab72dda7de2447132f29ae4.tar.gz lombok-626c33255bbac12ddab72dda7de2447132f29ae4.tar.bz2 lombok-626c33255bbac12ddab72dda7de2447132f29ae4.zip |
[tests] Support javadoc in ecj tests
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/GetterSetterJavadocEcj.java | 86 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/SetterDeprecatedEcj.java | 14 |
2 files changed, 0 insertions, 100 deletions
diff --git a/test/transform/resource/after-ecj/GetterSetterJavadocEcj.java b/test/transform/resource/after-ecj/GetterSetterJavadocEcj.java deleted file mode 100644 index 83c9c3a5..00000000 --- a/test/transform/resource/after-ecj/GetterSetterJavadocEcj.java +++ /dev/null @@ -1,86 +0,0 @@ -@lombok.Data class GetterSetterJavadoc1 { - private int fieldName; - public @java.lang.SuppressWarnings("all") int getFieldName() { - return this.fieldName; - } - public @java.lang.SuppressWarnings("all") void setFieldName(final int fieldName) { - this.fieldName = fieldName; - } - public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { - if ((o == this)) - return true; - if ((! (o instanceof GetterSetterJavadoc1))) - return false; - final GetterSetterJavadoc1 other = (GetterSetterJavadoc1) o; - if ((! other.canEqual((java.lang.Object) this))) - return false; - if ((this.getFieldName() != other.getFieldName())) - return false; - return true; - } - protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) { - return (other instanceof GetterSetterJavadoc1); - } - public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() { - final int PRIME = 59; - int result = 1; - result = ((result * PRIME) + this.getFieldName()); - return result; - } - public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { - return (("GetterSetterJavadoc1(fieldName=" + this.getFieldName()) + ")"); - } - public @java.lang.SuppressWarnings("all") GetterSetterJavadoc1() { - super(); - } -} -class GetterSetterJavadoc2 { - private @lombok.Getter @lombok.Setter int fieldName; - GetterSetterJavadoc2() { - super(); - } - public @java.lang.SuppressWarnings("all") int getFieldName() { - return this.fieldName; - } - public @java.lang.SuppressWarnings("all") void setFieldName(final int fieldName) { - this.fieldName = fieldName; - } -} -class GetterSetterJavadoc3 { - private @lombok.Getter @lombok.Setter int fieldName; - GetterSetterJavadoc3() { - super(); - } - public @java.lang.SuppressWarnings("all") int getFieldName() { - return this.fieldName; - } - public @java.lang.SuppressWarnings("all") void setFieldName(final int fieldName) { - this.fieldName = fieldName; - } -} -@lombok.experimental.Accessors(chain = true,fluent = true) class GetterSetterJavadoc4 { - private @lombok.Getter @lombok.Setter int fieldName; - GetterSetterJavadoc4() { - super(); - } - public @java.lang.SuppressWarnings("all") int fieldName() { - return this.fieldName; - } - public @java.lang.SuppressWarnings("all") GetterSetterJavadoc4 fieldName(final int fieldName) { - this.fieldName = fieldName; - return this; - } -} -@lombok.experimental.Accessors(chain = true,fluent = true) class GetterSetterJavadoc5 { - private @lombok.Getter @lombok.Setter int fieldName; - GetterSetterJavadoc5() { - super(); - } - public @java.lang.SuppressWarnings("all") int fieldName() { - return this.fieldName; - } - public @java.lang.SuppressWarnings("all") GetterSetterJavadoc5 fieldName(final int fieldName) { - this.fieldName = fieldName; - return this; - } -} diff --git a/test/transform/resource/after-ecj/SetterDeprecatedEcj.java b/test/transform/resource/after-ecj/SetterDeprecatedEcj.java deleted file mode 100644 index d76612b7..00000000 --- a/test/transform/resource/after-ecj/SetterDeprecatedEcj.java +++ /dev/null @@ -1,14 +0,0 @@ -import lombok.Setter; -class SetterDeprecated { - @Deprecated @Setter int annotation; - @Setter int javadoc; - SetterDeprecated() { - super(); - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setAnnotation(final int annotation) { - this.annotation = annotation; - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJavadoc(final int javadoc) { - this.javadoc = javadoc; - } -} |