aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRobbert Jan Grootjans <grootjans@gmail.com>2012-03-05 21:11:19 +0100
committerRobbert Jan Grootjans <grootjans@gmail.com>2012-03-05 21:11:19 +0100
commitf1e679471d5dfadcd983476bda0bca61c86dc71c (patch)
treeb50f07d09ec4b21b0c93abbccaab254b5d61c597 /test
parent7988f17c28fb8f6a6f99a612f85ee804bed38dfe (diff)
downloadlombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.tar.gz
lombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.tar.bz2
lombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.zip
PrettyCommentsPrinter now prints default clause of annotation methods. Fixes Issue #350
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-delombok/WithInnerAnnotation.java5
-rw-r--r--test/transform/resource/after-ecj/WithInnerAnnotation.java8
-rw-r--r--test/transform/resource/before/WithInnerAnnotation.java5
3 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithInnerAnnotation.java b/test/transform/resource/after-delombok/WithInnerAnnotation.java
new file mode 100644
index 00000000..a8decfeb
--- /dev/null
+++ b/test/transform/resource/after-delombok/WithInnerAnnotation.java
@@ -0,0 +1,5 @@
+class WithInnerAnnotation {
+ @interface Inner {
+ int bar() default 42;
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/WithInnerAnnotation.java b/test/transform/resource/after-ecj/WithInnerAnnotation.java
new file mode 100644
index 00000000..ac9f161d
--- /dev/null
+++ b/test/transform/resource/after-ecj/WithInnerAnnotation.java
@@ -0,0 +1,8 @@
+class WithInnerAnnotation {
+ @interface Inner {
+ int bar() default 42;
+ }
+ WithInnerAnnotation() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/WithInnerAnnotation.java b/test/transform/resource/before/WithInnerAnnotation.java
new file mode 100644
index 00000000..a8decfeb
--- /dev/null
+++ b/test/transform/resource/before/WithInnerAnnotation.java
@@ -0,0 +1,5 @@
+class WithInnerAnnotation {
+ @interface Inner {
+ int bar() default 42;
+ }
+} \ No newline at end of file