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 --- src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/delombok/lombok') diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java index 9b3b7eb8..056f5bf4 100644 --- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java +++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java @@ -774,6 +774,10 @@ public class PrettyCommentsPrinter extends JCTree.Visitor { print(" throws "); printExprs(tree.thrown); } + if (tree.defaultValue != null) { + print(" default "); + print(tree.defaultValue); + } if (tree.body != null) { print(" "); printBlock(tree.body.stats, tree.body); -- cgit