delombok would put copyright headers in between the 'package' keyword and the actual package.

See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion
This commit is contained in:
Philipp Eichhorn authored and Reinier Zwitserloot committed 2011-05-28 19:34:34 +02:00
1 parent 489f506ba1
commit 21cfb45696
3 files changed
+11

No files matched your search

@@ -554,6 +554,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
docComments = tree.docComments;
printDocComment(tree);
if (tree.pid != null) {
consumeComments(tree.pos);
print("package ");
printExpr(tree.pid);
print(";");
@@ -1,3 +1,8 @@
/*
Try out pretty comments.
*/
package test;
// Cool Comments
public class WithComments {
// Also inside the body
@@ -1,3 +1,8 @@
/*
Try out pretty comments.
*/
package test;
// Cool Comments
public class WithComments {
// Also inside the body