aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
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/before
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/before')
-rw-r--r--test/transform/resource/before/Constructors.java9
-rw-r--r--test/transform/resource/before/GetterOnMethod.java15
-rw-r--r--test/transform/resource/before/SetterOnMethod.java15
-rw-r--r--test/transform/resource/before/SetterOnParam.java15
-rw-r--r--test/transform/resource/before/SetterOnParamAndOnMethod.java3
5 files changed, 0 insertions, 57 deletions
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;
-}