aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-11-01 00:13:22 +0100
committerRoel Spilker <r.spilker@gmail.com>2011-11-01 00:13:22 +0100
commita9f334fde93a0b07820962bff0b602ef0be731cf (patch)
tree4b330e1907f27d36a685cef0458cab7a65e6f2ec /src/stubs/com/sun/tools
parent70f778daa560a899abe91a4908cd37c70ff1f3b4 (diff)
downloadlombok-a9f334fde93a0b07820962bff0b602ef0be731cf.tar.gz
lombok-a9f334fde93a0b07820962bff0b602ef0be731cf.tar.bz2
lombok-a9f334fde93a0b07820962bff0b602ef0be731cf.zip
Fixed issue 284 now also for java7, introduced more stubbing
Diffstat (limited to 'src/stubs/com/sun/tools')
-rw-r--r--src/stubs/com/sun/tools/javac/parser/EndPosParser.java19
-rw-r--r--src/stubs/com/sun/tools/javac/parser/Lexer.java5
-rw-r--r--src/stubs/com/sun/tools/javac/parser/ParserFactory.java11
-rw-r--r--src/stubs/com/sun/tools/javac/parser/Scanner.java2
-rw-r--r--src/stubs/com/sun/tools/javac/parser/ScannerFactory.java4
5 files changed, 40 insertions, 1 deletions
diff --git a/src/stubs/com/sun/tools/javac/parser/EndPosParser.java b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java
new file mode 100644
index 00000000..1ffd6ec5
--- /dev/null
+++ b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java
@@ -0,0 +1,19 @@
+package com.sun.tools.javac.parser;
+
+import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
+
+public class EndPosParser {
+ public EndPosParser(Parser.Factory fac, Lexer S, boolean keepDocComments) {
+ }
+
+ public EndPosParser(ParserFactory fac, Lexer S, boolean keepDocComments, boolean keepLineMap) {
+ }
+
+ public JCCompilationUnit compilationUnit() {
+ return null;
+ }
+
+ public JCCompilationUnit parseCompilationUnit() {
+ return null;
+ }
+}
diff --git a/src/stubs/com/sun/tools/javac/parser/Lexer.java b/src/stubs/com/sun/tools/javac/parser/Lexer.java
new file mode 100644
index 00000000..b0824501
--- /dev/null
+++ b/src/stubs/com/sun/tools/javac/parser/Lexer.java
@@ -0,0 +1,5 @@
+package com.sun.tools.javac.parser;
+
+public interface Lexer {
+
+}
diff --git a/src/stubs/com/sun/tools/javac/parser/ParserFactory.java b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java
new file mode 100644
index 00000000..193f2333
--- /dev/null
+++ b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java
@@ -0,0 +1,11 @@
+package com.sun.tools.javac.parser;
+
+import com.sun.tools.javac.util.Context;
+
+public class ParserFactory {
+ public static Context.Key<ParserFactory> parserFactoryKey;
+
+ public ParserFactory(Context context) {
+
+ }
+} \ No newline at end of file
diff --git a/src/stubs/com/sun/tools/javac/parser/Scanner.java b/src/stubs/com/sun/tools/javac/parser/Scanner.java
index f6f1d25d..af94bacc 100644
--- a/src/stubs/com/sun/tools/javac/parser/Scanner.java
+++ b/src/stubs/com/sun/tools/javac/parser/Scanner.java
@@ -7,7 +7,7 @@ import java.nio.CharBuffer;
import com.sun.tools.javac.util.Context;
-public class Scanner {
+public class Scanner implements Lexer {
protected Scanner(Factory fac, CharBuffer buffer) {
}
diff --git a/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java b/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java
index 26483db3..7f9418de 100644
--- a/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java
+++ b/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java
@@ -11,6 +11,10 @@ public class ScannerFactory {
protected ScannerFactory(Context c) {
}
+ public static ScannerFactory instance(Context c) {
+ return null;
+ }
+
public Scanner newScanner(CharSequence input, boolean keepDocComments) {
return null;
}