diff options
author | Robbert Jan Grootjans <grootjans@gmail.com> | 2012-03-05 21:11:19 +0100 |
---|---|---|
committer | Robbert Jan Grootjans <grootjans@gmail.com> | 2012-03-05 21:11:19 +0100 |
commit | f1e679471d5dfadcd983476bda0bca61c86dc71c (patch) | |
tree | b50f07d09ec4b21b0c93abbccaab254b5d61c597 /src/delombok/lombok | |
parent | 7988f17c28fb8f6a6f99a612f85ee804bed38dfe (diff) | |
download | lombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.tar.gz lombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.tar.bz2 lombok-f1e679471d5dfadcd983476bda0bca61c86dc71c.zip |
PrettyCommentsPrinter now prints default clause of annotation methods. Fixes Issue #350
Diffstat (limited to 'src/delombok/lombok')
-rw-r--r-- | src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 4 |
1 files changed, 4 insertions, 0 deletions
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); |