aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-ecj/GetterSetterJavadocEcj.java86
-rw-r--r--test/transform/resource/after-ecj/SetterDeprecatedEcj.java14
-rw-r--r--test/transform/resource/before/BuilderJavadoc.java1
-rw-r--r--test/transform/resource/before/BuilderWithDeprecated.java1
-rw-r--r--test/transform/resource/before/GetterDeprecated.java1
-rw-r--r--test/transform/resource/before/GetterSetterJavadoc.java1
-rw-r--r--test/transform/resource/before/GetterSetterJavadocEcj.java65
-rw-r--r--test/transform/resource/before/SetterAndWithMethodJavadoc.java1
-rw-r--r--test/transform/resource/before/SetterDeprecated.java1
-rw-r--r--test/transform/resource/before/SetterDeprecatedEcj.java12
-rw-r--r--test/transform/resource/before/WithMethodMarkedDeprecated.java1
11 files changed, 0 insertions, 184 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;
- }
-}
diff --git a/test/transform/resource/before/BuilderJavadoc.java b/test/transform/resource/before/BuilderJavadoc.java
index d966af28..390e2096 100644
--- a/test/transform/resource/before/BuilderJavadoc.java
+++ b/test/transform/resource/before/BuilderJavadoc.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import java.util.List;
@lombok.Builder
diff --git a/test/transform/resource/before/BuilderWithDeprecated.java b/test/transform/resource/before/BuilderWithDeprecated.java
index 1b41444c..1641ccb4 100644
--- a/test/transform/resource/before/BuilderWithDeprecated.java
+++ b/test/transform/resource/before/BuilderWithDeprecated.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import com.google.common.collect.ImmutableList;
import lombok.Builder;
import lombok.Singular;
diff --git a/test/transform/resource/before/GetterDeprecated.java b/test/transform/resource/before/GetterDeprecated.java
index 9d67297b..16d66a85 100644
--- a/test/transform/resource/before/GetterDeprecated.java
+++ b/test/transform/resource/before/GetterDeprecated.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import lombok.Getter;
class GetterDeprecated {
diff --git a/test/transform/resource/before/GetterSetterJavadoc.java b/test/transform/resource/before/GetterSetterJavadoc.java
index 44b970e8..2ad46f8d 100644
--- a/test/transform/resource/before/GetterSetterJavadoc.java
+++ b/test/transform/resource/before/GetterSetterJavadoc.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
@lombok.Data
class GetterSetterJavadoc1 {
/**
diff --git a/test/transform/resource/before/GetterSetterJavadocEcj.java b/test/transform/resource/before/GetterSetterJavadocEcj.java
deleted file mode 100644
index 1c24851c..00000000
--- a/test/transform/resource/before/GetterSetterJavadocEcj.java
+++ /dev/null
@@ -1,65 +0,0 @@
-//platform ecj: Javadoc copying not supported on ecj - testing that the javadoc doesnt cause any crashes
-@lombok.Data
-class GetterSetterJavadoc1 {
- /**
- * Some text
- *
- * @param fieldName Hello, World1
- * --- GETTER ---
- * Getter section
- *
- * @return Sky is blue1
- */
- private int fieldName;
-}
-
-class GetterSetterJavadoc2 {
- /**
- * Some text
- *
- * @param fieldName Hello, World2
- * @return Sky is blue2
- */
- @lombok.Getter @lombok.Setter private int fieldName;
-}
-
-class GetterSetterJavadoc3 {
- /**
- * Some text
- *
- * **SETTER**
- * Setter section
- * @param fieldName Hello, World3
- * **GETTER**
- * Getter section
- * @return Sky is blue3
- */
- @lombok.Getter @lombok.Setter private int fieldName;
-}
-
-@lombok.experimental.Accessors(chain = true, fluent = true)
-class GetterSetterJavadoc4 {
- /**
- * Some text
- *
- * @param fieldName Hello, World4
- * @return Sky is blue4
- */
- @lombok.Getter @lombok.Setter private int fieldName;
-}
-
-@lombok.experimental.Accessors(chain = true, fluent = true)
-class GetterSetterJavadoc5 {
- /**
- * Some text
- *
- * **SETTER**
- * Setter section
- * @param fieldName Hello, World5
- * @return Sky is blue5
- * **GETTER**
- * Getter section
- * @return Sky is blue5
- */
- @lombok.Getter @lombok.Setter private int fieldName;
-}
diff --git a/test/transform/resource/before/SetterAndWithMethodJavadoc.java b/test/transform/resource/before/SetterAndWithMethodJavadoc.java
index 0317cf27..ba10b7f2 100644
--- a/test/transform/resource/before/SetterAndWithMethodJavadoc.java
+++ b/test/transform/resource/before/SetterAndWithMethodJavadoc.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import lombok.With;
class SetterAndWithMethodJavadoc {
/**
diff --git a/test/transform/resource/before/SetterDeprecated.java b/test/transform/resource/before/SetterDeprecated.java
index a4c2ea94..585cade1 100644
--- a/test/transform/resource/before/SetterDeprecated.java
+++ b/test/transform/resource/before/SetterDeprecated.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import lombok.Setter;
class SetterDeprecated {
diff --git a/test/transform/resource/before/SetterDeprecatedEcj.java b/test/transform/resource/before/SetterDeprecatedEcj.java
deleted file mode 100644
index 361a4fb7..00000000
--- a/test/transform/resource/before/SetterDeprecatedEcj.java
+++ /dev/null
@@ -1,12 +0,0 @@
-//platform ecj: Javadoc copying not supported on ecj
-import lombok.Setter;
-class SetterDeprecated {
-
- @Deprecated
- @Setter int annotation;
-
- /**
- * @deprecated
- */
- @Setter int javadoc;
-}
diff --git a/test/transform/resource/before/WithMethodMarkedDeprecated.java b/test/transform/resource/before/WithMethodMarkedDeprecated.java
index 659ea1de..7a6549e5 100644
--- a/test/transform/resource/before/WithMethodMarkedDeprecated.java
+++ b/test/transform/resource/before/WithMethodMarkedDeprecated.java
@@ -1,4 +1,3 @@
-//platform !ecj: Javadoc copying not supported on ecj
import lombok.With;
class WithMethodMarkedDeprecated {