aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-08-15 21:21:51 +0200
committerRoel Spilker <r.spilker@gmail.com>2011-08-15 21:21:51 +0200
commita284600987065aa78bc41b2099421f864cfcec20 (patch)
tree1c8b7dd807bef387bba0c0cda42b8d6550bd3ce3 /test/transform/resource/after-eclipse
parent55cb9f8dac271fe0facd2ce2ad365f8084942181 (diff)
downloadlombok-a284600987065aa78bc41b2099421f864cfcec20.tar.gz
lombok-a284600987065aa78bc41b2099421f864cfcec20.tar.bz2
lombok-a284600987065aa78bc41b2099421f864cfcec20.zip
Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251
Diffstat (limited to 'test/transform/resource/after-eclipse')
-rw-r--r--test/transform/resource/after-eclipse/Constructors.java13
-rw-r--r--test/transform/resource/after-eclipse/GetterOnMethod.java40
-rw-r--r--test/transform/resource/after-eclipse/SetterOnMethod.java40
-rw-r--r--test/transform/resource/after-eclipse/SetterOnParam.java40
-rw-r--r--test/transform/resource/after-eclipse/SetterOnParamAndOnMethod.java9
5 files changed, 0 insertions, 142 deletions
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();
- }
-}