aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
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-delombok
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-delombok')
-rw-r--r--test/transform/resource/after-delombok/Constructors.java22
-rw-r--r--test/transform/resource/after-delombok/GetterOnMethod.java39
-rw-r--r--test/transform/resource/after-delombok/SetterOnMethod.java39
-rw-r--r--test/transform/resource/after-delombok/SetterOnParam.java36
-rw-r--r--test/transform/resource/after-delombok/SetterOnParamAndOnMethod.java8
5 files changed, 0 insertions, 144 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