diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-08-13 00:24:51 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-08-13 00:24:51 +0200 |
commit | 132d603dd4e43f50555ef33bac290b1080dfc5fa (patch) | |
tree | add360c2cf888cc0e81ff49aea72182c22bd9cbe /src/utils/lombok/javac/java6/CommentCollectingScanner.java | |
parent | 2b393ec62296edfeaa3e1d78850cdf3fb9767f78 (diff) | |
download | lombok-132d603dd4e43f50555ef33bac290b1080dfc5fa.tar.gz lombok-132d603dd4e43f50555ef33bac290b1080dfc5fa.tar.bz2 lombok-132d603dd4e43f50555ef33bac290b1080dfc5fa.zip |
Getting the java8 compiler remember the comments
Diffstat (limited to 'src/utils/lombok/javac/java6/CommentCollectingScanner.java')
-rw-r--r-- | src/utils/lombok/javac/java6/CommentCollectingScanner.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/lombok/javac/java6/CommentCollectingScanner.java b/src/utils/lombok/javac/java6/CommentCollectingScanner.java index b584ec16..5d820ba0 100644 --- a/src/utils/lombok/javac/java6/CommentCollectingScanner.java +++ b/src/utils/lombok/javac/java6/CommentCollectingScanner.java @@ -27,10 +27,11 @@ import lombok.javac.CommentInfo; import lombok.javac.CommentInfo.EndConnection; import lombok.javac.CommentInfo.StartConnection; +import com.sun.tools.javac.parser.Scanner; import com.sun.tools.javac.util.List; import com.sun.tools.javac.util.ListBuffer; -public class CommentCollectingScanner extends DocCommentScanner { +public class CommentCollectingScanner extends Scanner { private final ListBuffer<CommentInfo> comments = ListBuffer.lb(); private int endComment = 0; |