diff options
Diffstat (limited to 'src/stubs/com/sun')
5 files changed, 38 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javac/parser/EndPosParser.java b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java index 1ffd6ec5..d7a352d6 100644 --- a/src/stubs/com/sun/tools/javac/parser/EndPosParser.java +++ b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java @@ -1,3 +1,6 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ package com.sun.tools.javac.parser; import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; diff --git a/src/stubs/com/sun/tools/javac/parser/Lexer.java b/src/stubs/com/sun/tools/javac/parser/Lexer.java index b0824501..0d432c01 100644 --- a/src/stubs/com/sun/tools/javac/parser/Lexer.java +++ b/src/stubs/com/sun/tools/javac/parser/Lexer.java @@ -1,3 +1,6 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ package com.sun.tools.javac.parser; public interface Lexer { diff --git a/src/stubs/com/sun/tools/javac/parser/Parser.java b/src/stubs/com/sun/tools/javac/parser/Parser.java new file mode 100644 index 00000000..c8bc5e63 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/parser/Parser.java @@ -0,0 +1,21 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ +package com.sun.tools.javac.parser; + +import com.sun.tools.javac.util.Context; + +public class Parser { + public static class Factory { + public static Context.Key<Parser.Factory> parserFactoryKey; + + public Factory(Context context) { + + } + + public Parser newParser(Lexer S, boolean keepDocComments, boolean genEndPos) { + return null; + } + + } +} diff --git a/src/stubs/com/sun/tools/javac/parser/ParserFactory.java b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java index 193f2333..2f693271 100644 --- a/src/stubs/com/sun/tools/javac/parser/ParserFactory.java +++ b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java @@ -1,3 +1,6 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ package com.sun.tools.javac.parser; import com.sun.tools.javac.util.Context; diff --git a/src/stubs/com/sun/tools/javac/util/BaseFileObject.java b/src/stubs/com/sun/tools/javac/util/BaseFileObject.java new file mode 100644 index 00000000..315e7ab1 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/util/BaseFileObject.java @@ -0,0 +1,8 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ +package com.sun.tools.javac.util; + +import javax.tools.JavaFileObject; + +public abstract class BaseFileObject implements JavaFileObject {} |