From a284600987065aa78bc41b2099421f864cfcec20 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 15 Aug 2011 21:21:51 +0200 Subject: Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251 --- .../resource/after-eclipse/Constructors.java | 13 ------- .../resource/after-eclipse/GetterOnMethod.java | 40 ---------------------- .../resource/after-eclipse/SetterOnMethod.java | 40 ---------------------- .../resource/after-eclipse/SetterOnParam.java | 40 ---------------------- .../after-eclipse/SetterOnParamAndOnMethod.java | 9 ----- 5 files changed, 142 deletions(-) delete mode 100644 test/transform/resource/after-eclipse/GetterOnMethod.java delete mode 100644 test/transform/resource/after-eclipse/SetterOnMethod.java delete mode 100644 test/transform/resource/after-eclipse/SetterOnParam.java delete mode 100644 test/transform/resource/after-eclipse/SetterOnParamAndOnMethod.java (limited to 'test/transform/resource/after-eclipse') 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(); - } -} -- cgit