aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-03-22 17:17:06 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-03-22 17:17:06 +0100
commit4689d2a9bf79f592690a71e7ad7d25cb38b2344b (patch)
tree8f84d622bc93a351b13c0433a644c2e704ffbc31 /test/transform/resource
parent389dbf5edadfb61e808e7d5273bb11990821ff9f (diff)
parenteb317c58df89c263b9ce12a49b0ab660e78b2f53 (diff)
downloadlombok-4689d2a9bf79f592690a71e7ad7d25cb38b2344b.tar.gz
lombok-4689d2a9bf79f592690a71e7ad7d25cb38b2344b.tar.bz2
lombok-4689d2a9bf79f592690a71e7ad7d25cb38b2344b.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-delombok/GetterDeprecated.java18
-rw-r--r--test/transform/resource/after-delombok/SetterDeprecated.java18
-rw-r--r--test/transform/resource/after-ecj/GetterDeprecated.java14
-rw-r--r--test/transform/resource/after-ecj/SetterDeprecated.java14
-rw-r--r--test/transform/resource/before/GetterDeprecated.java11
-rw-r--r--test/transform/resource/before/SetterDeprecated.java11
6 files changed, 86 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/GetterDeprecated.java b/test/transform/resource/after-delombok/GetterDeprecated.java
new file mode 100644
index 00000000..3387540f
--- /dev/null
+++ b/test/transform/resource/after-delombok/GetterDeprecated.java
@@ -0,0 +1,18 @@
+class GetterDeprecated {
+ @Deprecated
+ int annotation;
+ /**
+ * @deprecated
+ */
+ int javadoc;
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public int getAnnotation() {
+ return this.annotation;
+ }
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public int getJavadoc() {
+ return this.javadoc;
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/SetterDeprecated.java b/test/transform/resource/after-delombok/SetterDeprecated.java
new file mode 100644
index 00000000..5a6cf9f3
--- /dev/null
+++ b/test/transform/resource/after-delombok/SetterDeprecated.java
@@ -0,0 +1,18 @@
+class SetterDeprecated {
+ @Deprecated
+ int annotation;
+ /**
+ * @deprecated
+ */
+ int javadoc;
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public void setAnnotation(final int annotation) {
+ this.annotation = annotation;
+ }
+ @java.lang.Deprecated
+ @java.lang.SuppressWarnings("all")
+ public void setJavadoc(final int javadoc) {
+ this.javadoc = javadoc;
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/GetterDeprecated.java b/test/transform/resource/after-ecj/GetterDeprecated.java
new file mode 100644
index 00000000..c19198dd
--- /dev/null
+++ b/test/transform/resource/after-ecj/GetterDeprecated.java
@@ -0,0 +1,14 @@
+import lombok.Getter;
+class GetterDeprecated {
+ @Deprecated @Getter int annotation;
+ @Getter int javadoc;
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getAnnotation() {
+ return this.annotation;
+ }
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJavadoc() {
+ return this.javadoc;
+ }
+ GetterDeprecated() {
+ super();
+ }
+}
diff --git a/test/transform/resource/after-ecj/SetterDeprecated.java b/test/transform/resource/after-ecj/SetterDeprecated.java
new file mode 100644
index 00000000..b12ae34d
--- /dev/null
+++ b/test/transform/resource/after-ecj/SetterDeprecated.java
@@ -0,0 +1,14 @@
+import lombok.Setter;
+class SetterDeprecated {
+ @Deprecated @Setter int annotation;
+ @Setter int javadoc;
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setAnnotation(final int annotation) {
+ this.annotation = annotation;
+ }
+ public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJavadoc(final int javadoc) {
+ this.javadoc = javadoc;
+ }
+ SetterDeprecated() {
+ super();
+ }
+}
diff --git a/test/transform/resource/before/GetterDeprecated.java b/test/transform/resource/before/GetterDeprecated.java
new file mode 100644
index 00000000..01b66bca
--- /dev/null
+++ b/test/transform/resource/before/GetterDeprecated.java
@@ -0,0 +1,11 @@
+import lombok.Getter;
+class GetterDeprecated {
+
+ @Deprecated
+ @Getter int annotation;
+
+ /**
+ * @deprecated
+ */
+ @Getter int javadoc;
+} \ No newline at end of file
diff --git a/test/transform/resource/before/SetterDeprecated.java b/test/transform/resource/before/SetterDeprecated.java
new file mode 100644
index 00000000..e655622f
--- /dev/null
+++ b/test/transform/resource/before/SetterDeprecated.java
@@ -0,0 +1,11 @@
+import lombok.Setter;
+class SetterDeprecated {
+
+ @Deprecated
+ @Setter int annotation;
+
+ /**
+ * @deprecated
+ */
+ @Setter int javadoc;
+} \ No newline at end of file