aboutsummaryrefslogtreecommitdiff
path: root/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-12-12 21:18:24 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-12-12 23:24:58 +0100
commitd713dab0c36889846a7445bf965b567e9b9a7b9b (patch)
tree78dc912a4fb021810c4fd0aaba018939985f33bb /src/utils/lombok/javac/java7/CommentCollectingParserFactory.java
parent3e18007af326e1401282a1f97dded74a4b306726 (diff)
downloadlombok-d713dab0c36889846a7445bf965b567e9b9a7b9b.tar.gz
lombok-d713dab0c36889846a7445bf965b567e9b9a7b9b.tar.bz2
lombok-d713dab0c36889846a7445bf965b567e9b9a7b9b.zip
Renamed Comment to CommentInfo.
Diffstat (limited to 'src/utils/lombok/javac/java7/CommentCollectingParserFactory.java')
-rw-r--r--src/utils/lombok/javac/java7/CommentCollectingParserFactory.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java b/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java
index 7d8c9537..e361a5bd 100644
--- a/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java
+++ b/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java
@@ -4,7 +4,7 @@ import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
-import lombok.javac.Comment;
+import lombok.javac.CommentInfo;
import com.sun.tools.javac.main.JavaCompiler;
import com.sun.tools.javac.parser.Lexer;
@@ -15,14 +15,14 @@ import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
import com.sun.tools.javac.util.Context;
public class CommentCollectingParserFactory extends ParserFactory {
- private final Map<JCCompilationUnit, List<Comment>> commentsMap;
+ private final Map<JCCompilationUnit, List<CommentInfo>> commentsMap;
private final Context context;
static Context.Key<ParserFactory> key() {
return parserFactoryKey;
}
- protected CommentCollectingParserFactory(Context context, Map<JCCompilationUnit, List<Comment>> commentsMap) {
+ protected CommentCollectingParserFactory(Context context, Map<JCCompilationUnit, List<CommentInfo>> commentsMap) {
super(context);
this.context = context;
this.commentsMap = commentsMap;
@@ -38,7 +38,7 @@ public class CommentCollectingParserFactory extends ParserFactory {
//Either way this will work out.
}
- public static void setInCompiler(JavaCompiler compiler, Context context, Map<JCCompilationUnit, List<Comment>> commentsMap) {
+ public static void setInCompiler(JavaCompiler compiler, Context context, Map<JCCompilationUnit, List<CommentInfo>> commentsMap) {
context.put(CommentCollectingParserFactory.key(), (ParserFactory)null);
Field field;
try {