diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-05-01 22:13:10 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-05-01 22:13:10 +0200 |
commit | e890428077e48f8dcf14928267d506a0c1d36abf (patch) | |
tree | fb81ca674a3bb565ae7cc9820666d087b935418d /src/delombok | |
parent | c7bfba873eb62a73668875cb1e9d94fb322bec1c (diff) | |
download | lombok-e890428077e48f8dcf14928267d506a0c1d36abf.tar.gz lombok-e890428077e48f8dcf14928267d506a0c1d36abf.tar.bz2 lombok-e890428077e48f8dcf14928267d506a0c1d36abf.zip |
[java8] Support in delombok for default methods in interfaces
Diffstat (limited to 'src/delombok')
-rw-r--r-- | src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java index 79f22e58..9dd7e40e 100644 --- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java +++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java @@ -126,6 +126,9 @@ public class PrettyCommentsPrinter extends JCTree.Visitor { private static final Map<TreeTag, String> OPERATORS; + // StandardFlags | DEFAULT + private static final long EXTENDED_STANDARD_FLAGS = 0x0fffL | 1L<<43; + static { Map<TreeTag, String> map = new HashMap<TreeTag, String>(); @@ -493,7 +496,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor { suppressFinalAndSemicolonsInTry = false; } print(TreeInfo.flagNames(flags)); - if ((flags & StandardFlags) != 0) print(" "); + if ((flags & EXTENDED_STANDARD_FLAGS) != 0) print(" "); if ((flags & ANNOTATION) != 0) print("@"); } |