aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-07-23 00:54:59 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-07-23 00:54:59 +0200
commit1b4d8669c48af215c38a73f6dfd15741619a1c45 (patch)
tree0c6487d4aaf711e401450fbfa5a35f1f6eae3e8b /src/delombok
parent45697b50816df79475a8bb69dc89ff68747fbfe6 (diff)
downloadlombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.tar.gz
lombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.tar.bz2
lombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.zip
A source file with just @Getter in it now compiles in javac8, but there is still a looooong way to go.
Diffstat (limited to 'src/delombok')
-rw-r--r--src/delombok/lombok/delombok/PrettyCommentsPrinter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
index 075cc64f..481380f7 100644
--- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
@@ -742,9 +742,9 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
else
print("class " + tree.name);
printTypeParameters(tree.typarams);
- if (tree.getExtendsClause() != null) {
+ if (Javac.getExtendsClause(tree) != null) {
print(" extends ");
- printExpr(tree.getExtendsClause());
+ printExpr(Javac.getExtendsClause(tree));
}
if (tree.implementing.nonEmpty()) {
print(" implements ");