diff options
Diffstat (limited to 'test/transform/resource')
21 files changed, 0 insertions, 488 deletions
diff --git a/test/transform/resource/after-delombok/Constructors.java b/test/transform/resource/after-delombok/Constructors.java index f8b090a1..fb906c73 100644 --- a/test/transform/resource/after-delombok/Constructors.java +++ b/test/transform/resource/after-delombok/Constructors.java @@ -1,56 +1,36 @@ class RequiredArgsConstructor1 { final int x; String name; - @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") public RequiredArgsConstructor1(final int x) { this.x = x; } } - class RequiredArgsConstructorAccess { final int x; String name; - @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") protected RequiredArgsConstructorAccess(final int x) { this.x = x; } } - class RequiredArgsConstructorStaticName { final int x; String name; - @java.lang.SuppressWarnings("all") private RequiredArgsConstructorStaticName(final int x) { this.x = x; } - @java.lang.SuppressWarnings("all") public static RequiredArgsConstructorStaticName staticname(final int x) { return new RequiredArgsConstructorStaticName(x); } } - -class RequiredArgsConstructorWithAnnotations { - final int x; - String name; - - @Deprecated - @java.beans.ConstructorProperties({"x"}) - @java.lang.SuppressWarnings("all") - public RequiredArgsConstructorWithAnnotations(final int x) { - this.x = x; - } -} - class AllArgsConstructor1 { final int x; String name; - @java.beans.ConstructorProperties({"x", "name"}) @java.lang.SuppressWarnings("all") public AllArgsConstructor1(final int x, final String name) { @@ -58,11 +38,9 @@ class AllArgsConstructor1 { this.name = name; } } - class NoArgsConstructor1 { final int x; String name; - @java.lang.SuppressWarnings("all") public NoArgsConstructor1() { } diff --git a/test/transform/resource/after-delombok/GetterOnMethod.java b/test/transform/resource/after-delombok/GetterOnMethod.java deleted file mode 100644 index 0c18170b..00000000 --- a/test/transform/resource/after-delombok/GetterOnMethod.java +++ /dev/null @@ -1,39 +0,0 @@ -class GetterOnMethod { - int i; - int j; - @Deprecated - @java.lang.SuppressWarnings("all") - public int getI() { - return this.i; - } - @java.lang.Deprecated - @java.lang.SuppressWarnings("all") - public int getJ() { - return this.j; - } -} -class GetterOnClassOnMethod { - int i; - int j; - @java.lang.SuppressWarnings("all") - public int getI() { - return this.i; - } - @java.lang.SuppressWarnings("all") - public int getJ() { - return this.j; - } -} -class GetterOnClassAndOnAField { - int i; - int j; - @java.lang.SuppressWarnings("all") - public int getI() { - return this.i; - } - @java.lang.Deprecated - @java.lang.SuppressWarnings("all") - public int getJ() { - return this.j; - } -}
\ No newline at end of file diff --git a/test/transform/resource/after-delombok/SetterOnMethod.java b/test/transform/resource/after-delombok/SetterOnMethod.java deleted file mode 100644 index b261ce92..00000000 --- a/test/transform/resource/after-delombok/SetterOnMethod.java +++ /dev/null @@ -1,39 +0,0 @@ -class SetterOnMethod { - int i; - int j; - @Deprecated - @java.lang.SuppressWarnings("all") - public void setI(final int i) { - this.i = i; - } - @java.lang.Deprecated - @java.lang.SuppressWarnings("all") - public void setJ(final int j) { - this.j = j; - } -} -class SetterOnClassOnMethod { - int i; - int j; - @java.lang.SuppressWarnings("all") - public void setI(final int i) { - this.i = i; - } - @java.lang.SuppressWarnings("all") - public void setJ(final int j) { - this.j = j; - } -} -class SetterOnClassAndOnAField { - int i; - int j; - @java.lang.SuppressWarnings("all") - public void setI(final int i) { - this.i = i; - } - @java.lang.Deprecated - @java.lang.SuppressWarnings("all") - public void setJ(final int j) { - this.j = j; - } -}
\ No newline at end of file diff --git a/test/transform/resource/after-delombok/SetterOnParam.java b/test/transform/resource/after-delombok/SetterOnParam.java deleted file mode 100644 index 89a55e00..00000000 --- a/test/transform/resource/after-delombok/SetterOnParam.java +++ /dev/null @@ -1,36 +0,0 @@ -class SetterOnParam { - int i; - int j; - @java.lang.SuppressWarnings("all") - public void setI(@SuppressWarnings("all") final int i) { - this.i = i; - } - @java.lang.SuppressWarnings("all") - public void setJ(@java.lang.SuppressWarnings("all") final int j) { - this.j = j; - } -} -class SetterOnClassOnParam { - int i; - int j; - @java.lang.SuppressWarnings("all") - public void setI(final int i) { - this.i = i; - } - @java.lang.SuppressWarnings("all") - public void setJ(final int j) { - this.j = j; - } -} -class SetterOnClassAndOnAFieldParam { - int i; - int j; - @java.lang.SuppressWarnings("all") - public void setI(final int i) { - this.i = i; - } - @java.lang.SuppressWarnings("all") - public void setJ(@java.lang.SuppressWarnings("all") final int j) { - this.j = j; - } -}
\ No newline at end of file diff --git a/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java b/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java deleted file mode 100644 index a80c3462..00000000 --- a/test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java +++ /dev/null @@ -1,8 +0,0 @@ -class SetterOnParamAndOnMethod { - int i; - @Deprecated - @java.lang.SuppressWarnings("all") - public void setI(@SuppressWarnings("all") final int i) { - this.i = i; - } -}
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/Constructors.java b/test/transform/resource/after-ecj/Constructors.java index e4fba7ff..e47ec8b5 100644 --- a/test/transform/resource/after-ecj/Constructors.java +++ b/test/transform/resource/after-ecj/Constructors.java @@ -6,7 +6,6 @@ this.x = x; } } - @lombok.RequiredArgsConstructor(access = lombok.AccessLevel.PROTECTED) class RequiredArgsConstructorAccess { final int x; String name; @@ -15,7 +14,6 @@ this.x = x; } } - @lombok.RequiredArgsConstructor(staticName = "staticname") class RequiredArgsConstructorStaticName { final int x; String name; @@ -27,16 +25,6 @@ return new RequiredArgsConstructorStaticName(x); } } - -@lombok.RequiredArgsConstructor() class RequiredArgsConstructorWithAnnotations { - final int x; - String name; - public @Deprecated @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") RequiredArgsConstructorWithAnnotations(final int x) { - super(); - this.x = x; - } -} - @lombok.AllArgsConstructor class AllArgsConstructor1 { final int x; String name; @@ -46,7 +34,6 @@ this.name = name; } } - @lombok.NoArgsConstructor class NoArgsConstructor1 { final int x; String name; diff --git a/test/transform/resource/after-ecj/GetterOnMethod.java b/test/transform/resource/after-ecj/GetterOnMethod.java deleted file mode 100644 index d7be009b..00000000 --- a/test/transform/resource/after-ecj/GetterOnMethod.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Getter; -class GetterOnMethod { - @lombok.Getter() int i; - @lombok.Getter() int j; - public @Deprecated @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - GetterOnMethod() { - super(); - } -} -@lombok.Getter() class GetterOnClassOnMethod { - int i; - int j; - public @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - public @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - GetterOnClassOnMethod() { - super(); - } -} -@lombok.Getter() class GetterOnClassAndOnAField { - int i; - @lombok.Getter() int j; - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - public @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - GetterOnClassAndOnAField() { - super(); - } -} diff --git a/test/transform/resource/after-ecj/SetterOnMethod.java b/test/transform/resource/after-ecj/SetterOnMethod.java deleted file mode 100644 index 8cd9727b..00000000 --- a/test/transform/resource/after-ecj/SetterOnMethod.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Setter; -class SetterOnMethod { - @lombok.Setter() int i; - @lombok.Setter() int j; - public @Deprecated @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnMethod() { - super(); - } -} -@lombok.Setter() class SetterOnClassOnMethod { - int i; - int j; - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnClassOnMethod() { - super(); - } -} -@lombok.Setter() class SetterOnClassAndOnAField { - int i; - @lombok.Setter() int j; - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - SetterOnClassAndOnAField() { - super(); - } -} diff --git a/test/transform/resource/after-ecj/SetterOnParam.java b/test/transform/resource/after-ecj/SetterOnParam.java deleted file mode 100644 index 3ec7f098..00000000 --- a/test/transform/resource/after-ecj/SetterOnParam.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Setter; -class SetterOnParam { - @lombok.Setter() int i; - @lombok.Setter() int j; - public @java.lang.SuppressWarnings("all") void setI(final @SuppressWarnings("all") int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final @java.lang.SuppressWarnings("all") int j) { - this.j = j; - } - SetterOnParam() { - super(); - } -} -@lombok.Setter() class SetterOnClassOnParam { - int i; - int j; - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnClassOnParam() { - super(); - } -} -@lombok.Setter() class SetterOnClassAndOnAFieldParam { - int i; - @lombok.Setter() int j; - public @java.lang.SuppressWarnings("all") void setJ(final @java.lang.SuppressWarnings("all") int j) { - this.j = j; - } - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - SetterOnClassAndOnAFieldParam() { - super(); - } -} diff --git a/test/transform/resource/after-ecj/SetterOnParamAndOnMethod.java b/test/transform/resource/after-ecj/SetterOnParamAndOnMethod.java deleted file mode 100644 index 8d77fc67..00000000 --- a/test/transform/resource/after-ecj/SetterOnParamAndOnMethod.java +++ /dev/null @@ -1,9 +0,0 @@ -class SetterOnParamAndOnMethod { - @lombok.Setter() int i; - public @Deprecated @java.lang.SuppressWarnings("all") void setI(final @SuppressWarnings("all") int i) { - this.i = i; - } - SetterOnParamAndOnMethod() { - super(); - } -} diff --git a/test/transform/resource/after-eclipse/Constructors.java b/test/transform/resource/after-eclipse/Constructors.java index e4fba7ff..e47ec8b5 100644 --- a/test/transform/resource/after-eclipse/Constructors.java +++ b/test/transform/resource/after-eclipse/Constructors.java @@ -6,7 +6,6 @@ this.x = x; } } - @lombok.RequiredArgsConstructor(access = lombok.AccessLevel.PROTECTED) class RequiredArgsConstructorAccess { final int x; String name; @@ -15,7 +14,6 @@ this.x = x; } } - @lombok.RequiredArgsConstructor(staticName = "staticname") class RequiredArgsConstructorStaticName { final int x; String name; @@ -27,16 +25,6 @@ return new RequiredArgsConstructorStaticName(x); } } - -@lombok.RequiredArgsConstructor() class RequiredArgsConstructorWithAnnotations { - final int x; - String name; - public @Deprecated @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") RequiredArgsConstructorWithAnnotations(final int x) { - super(); - this.x = x; - } -} - @lombok.AllArgsConstructor class AllArgsConstructor1 { final int x; String name; @@ -46,7 +34,6 @@ this.name = name; } } - @lombok.NoArgsConstructor class NoArgsConstructor1 { final int x; String name; diff --git a/test/transform/resource/after-eclipse/GetterOnMethod.java b/test/transform/resource/after-eclipse/GetterOnMethod.java deleted file mode 100644 index d7be009b..00000000 --- a/test/transform/resource/after-eclipse/GetterOnMethod.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Getter; -class GetterOnMethod { - @lombok.Getter() int i; - @lombok.Getter() int j; - public @Deprecated @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - GetterOnMethod() { - super(); - } -} -@lombok.Getter() class GetterOnClassOnMethod { - int i; - int j; - public @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - public @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - GetterOnClassOnMethod() { - super(); - } -} -@lombok.Getter() class GetterOnClassAndOnAField { - int i; - @lombok.Getter() int j; - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() { - return this.j; - } - public @java.lang.SuppressWarnings("all") int getI() { - return this.i; - } - GetterOnClassAndOnAField() { - super(); - } -} diff --git a/test/transform/resource/after-eclipse/SetterOnMethod.java b/test/transform/resource/after-eclipse/SetterOnMethod.java deleted file mode 100644 index 8cd9727b..00000000 --- a/test/transform/resource/after-eclipse/SetterOnMethod.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Setter; -class SetterOnMethod { - @lombok.Setter() int i; - @lombok.Setter() int j; - public @Deprecated @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnMethod() { - super(); - } -} -@lombok.Setter() class SetterOnClassOnMethod { - int i; - int j; - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnClassOnMethod() { - super(); - } -} -@lombok.Setter() class SetterOnClassAndOnAField { - int i; - @lombok.Setter() int j; - public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - SetterOnClassAndOnAField() { - super(); - } -} diff --git a/test/transform/resource/after-eclipse/SetterOnParam.java b/test/transform/resource/after-eclipse/SetterOnParam.java deleted file mode 100644 index 3ec7f098..00000000 --- a/test/transform/resource/after-eclipse/SetterOnParam.java +++ /dev/null @@ -1,40 +0,0 @@ -import lombok.Setter; -class SetterOnParam { - @lombok.Setter() int i; - @lombok.Setter() int j; - public @java.lang.SuppressWarnings("all") void setI(final @SuppressWarnings("all") int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final @java.lang.SuppressWarnings("all") int j) { - this.j = j; - } - SetterOnParam() { - super(); - } -} -@lombok.Setter() class SetterOnClassOnParam { - int i; - int j; - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - public @java.lang.SuppressWarnings("all") void setJ(final int j) { - this.j = j; - } - SetterOnClassOnParam() { - super(); - } -} -@lombok.Setter() class SetterOnClassAndOnAFieldParam { - int i; - @lombok.Setter() int j; - public @java.lang.SuppressWarnings("all") void setJ(final @java.lang.SuppressWarnings("all") int j) { - this.j = j; - } - public @java.lang.SuppressWarnings("all") void setI(final int i) { - this.i = i; - } - SetterOnClassAndOnAFieldParam() { - super(); - } -} diff --git a/test/transform/resource/after-eclipse/SetterOnParamAndOnMethod.java b/test/transform/resource/after-eclipse/SetterOnParamAndOnMethod.java deleted file mode 100644 index 8d77fc67..00000000 --- a/test/transform/resource/after-eclipse/SetterOnParamAndOnMethod.java +++ /dev/null @@ -1,9 +0,0 @@ -class SetterOnParamAndOnMethod { - @lombok.Setter() int i; - public @Deprecated @java.lang.SuppressWarnings("all") void setI(final @SuppressWarnings("all") int i) { - this.i = i; - } - SetterOnParamAndOnMethod() { - super(); - } -} diff --git a/test/transform/resource/before/Constructors.java b/test/transform/resource/before/Constructors.java index f5b5b770..bb39490a 100644 --- a/test/transform/resource/before/Constructors.java +++ b/test/transform/resource/before/Constructors.java @@ -2,27 +2,18 @@ final int x; String name; } - @lombok.RequiredArgsConstructor(access=lombok.AccessLevel.PROTECTED) class RequiredArgsConstructorAccess { final int x; String name; } - @lombok.RequiredArgsConstructor(staticName="staticname") class RequiredArgsConstructorStaticName { final int x; String name; } - -@lombok.RequiredArgsConstructor(onConstructor=@Deprecated) class RequiredArgsConstructorWithAnnotations { - final int x; - String name; -} - @lombok.AllArgsConstructor class AllArgsConstructor1 { final int x; String name; } - @lombok.NoArgsConstructor class NoArgsConstructor1 { final int x; String name; diff --git a/test/transform/resource/before/GetterOnMethod.java b/test/transform/resource/before/GetterOnMethod.java deleted file mode 100644 index 38b498de..00000000 --- a/test/transform/resource/before/GetterOnMethod.java +++ /dev/null @@ -1,15 +0,0 @@ -import lombok.Getter; -class GetterOnMethod { - @lombok.Getter(onMethod=@Deprecated) int i; - @lombok.Getter(onMethod={@java.lang.Deprecated}) int j; -} -@lombok.Getter(onMethod=@Deprecated) -class GetterOnClassOnMethod { - int i; - int j; -} -@lombok.Getter(onMethod=@Deprecated) -class GetterOnClassAndOnAField { - int i; - @lombok.Getter(onMethod={@java.lang.Deprecated}) int j; -} diff --git a/test/transform/resource/before/SetterOnMethod.java b/test/transform/resource/before/SetterOnMethod.java deleted file mode 100644 index d680b34b..00000000 --- a/test/transform/resource/before/SetterOnMethod.java +++ /dev/null @@ -1,15 +0,0 @@ -import lombok.Setter; -class SetterOnMethod { - @lombok.Setter(onMethod=@Deprecated) int i; - @lombok.Setter(onMethod={@java.lang.Deprecated}) int j; -} -@lombok.Setter(onMethod=@Deprecated) -class SetterOnClassOnMethod { - int i; - int j; -} -@lombok.Setter(onMethod=@Deprecated) -class SetterOnClassAndOnAField { - int i; - @lombok.Setter(onMethod={@java.lang.Deprecated}) int j; -} diff --git a/test/transform/resource/before/SetterOnParam.java b/test/transform/resource/before/SetterOnParam.java deleted file mode 100644 index 12b90696..00000000 --- a/test/transform/resource/before/SetterOnParam.java +++ /dev/null @@ -1,15 +0,0 @@ -import lombok.Setter; -class SetterOnParam { - @lombok.Setter(onParam=@SuppressWarnings("all")) int i; - @lombok.Setter(onParam={@java.lang.SuppressWarnings("all")}) int j; -} -@lombok.Setter(onParam=@SuppressWarnings("all")) -class SetterOnClassOnParam { - int i; - int j; -} -@lombok.Setter(onParam=@SuppressWarnings("all")) -class SetterOnClassAndOnAFieldParam { - int i; - @lombok.Setter(onParam={@java.lang.SuppressWarnings("all")}) int j; -} diff --git a/test/transform/resource/before/SetterOnParamAndOnMethod.java b/test/transform/resource/before/SetterOnParamAndOnMethod.java deleted file mode 100644 index b223fea8..00000000 --- a/test/transform/resource/before/SetterOnParamAndOnMethod.java +++ /dev/null @@ -1,3 +0,0 @@ -class SetterOnParamAndOnMethod { - @lombok.Setter(onMethod=@Deprecated,onParam=@SuppressWarnings("all")) int i; -} diff --git a/test/transform/resource/messages-delombok/Constructors.java.messages b/test/transform/resource/messages-delombok/Constructors.java.messages deleted file mode 100644 index 0ab86ac6..00000000 --- a/test/transform/resource/messages-delombok/Constructors.java.messages +++ /dev/null @@ -1,3 +0,0 @@ -16:48 ERROR incompatible types -found : java.lang.Deprecated -required: lombok.RequiredArgsConstructor.AnyAnnotation
\ No newline at end of file |