aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/delombok/lombok/delombok/PrettyCommentsPrinter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
index 8569db5b..6e9a1c94 100644
--- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
@@ -1245,7 +1245,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
int ownprec = TreeInfo.opPrec(getTag(tree));
String opname = operatorName(getTag(tree));
open(prec, ownprec);
- if (getTag(tree) <= JCTree.PREDEC) {
+ if (getTag(tree) <= Javac.getCtcInt(JCTree.class, "PREDEC")) {
print(opname);
printExpr(tree.arg, ownprec);
} else {