From f1e679471d5dfadcd983476bda0bca61c86dc71c Mon Sep 17 00:00:00 2001 From: Robbert Jan Grootjans Date: Mon, 5 Mar 2012 21:11:19 +0100 Subject: PrettyCommentsPrinter now prints default clause of annotation methods. Fixes Issue #350 --- test/transform/resource/after-delombok/WithInnerAnnotation.java | 5 +++++ test/transform/resource/after-ecj/WithInnerAnnotation.java | 8 ++++++++ test/transform/resource/before/WithInnerAnnotation.java | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 test/transform/resource/after-delombok/WithInnerAnnotation.java create mode 100644 test/transform/resource/after-ecj/WithInnerAnnotation.java create mode 100644 test/transform/resource/before/WithInnerAnnotation.java (limited to 'test') 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 -- cgit