diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/delombok/lombok/delombok/PrettyPrinter.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/delombok/lombok/delombok/PrettyPrinter.java b/src/delombok/lombok/delombok/PrettyPrinter.java index c46a3298..bcf3f431 100644 --- a/src/delombok/lombok/delombok/PrettyPrinter.java +++ b/src/delombok/lombok/delombok/PrettyPrinter.java @@ -531,6 +531,9 @@ public class PrettyPrinter extends JCTree.Visitor { print(tree.typarams, ", "); print(">"); } + + if (isRecord) printRecordConstructor(tree.defs); + JCTree extendsClause = getExtendsClause(tree); if (extendsClause != null) { print(" extends "); @@ -542,8 +545,6 @@ public class PrettyPrinter extends JCTree.Visitor { print(tree.implementing, ", "); } - if (isRecord) printRecordConstructor(tree.defs); - println(" {"); indent++; printClassMembers(tree.defs, isEnum, isInterface); |