aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2021-03-19 00:49:27 +0100
committerRoel Spilker <r.spilker@gmail.com>2021-03-19 01:11:48 +0100
commita5b7439516cdea9bce49f3403b637fb0b08f84a9 (patch)
tree839991745fe230c3213863dc03a91c6b4c7d5d2e /src/stubs/com/sun/tools/javac
parent76144935e2e74c98534a47a66d472de61fe1fef2 (diff)
downloadlombok-a5b7439516cdea9bce49f3403b637fb0b08f84a9.tar.gz
lombok-a5b7439516cdea9bce49f3403b637fb0b08f84a9.tar.bz2
lombok-a5b7439516cdea9bce49f3403b637fb0b08f84a9.zip
[jdk16] delombok
Diffstat (limited to 'src/stubs/com/sun/tools/javac')
-rw-r--r--src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java b/src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java
index 7d5bbcb1..cde6b325 100644
--- a/src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java
+++ b/src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java
@@ -1,11 +1,15 @@
package com.sun.tools.javac.parser;
+import java.nio.CharBuffer;
+
import com.sun.tools.javac.parser.Tokens.Comment;
import com.sun.tools.javac.parser.Tokens.Comment.CommentStyle;
public class JavaTokenizer {
+ // used before java 16
protected UnicodeReader reader;
+ // used before java 16
protected JavaTokenizer(ScannerFactory fac, UnicodeReader reader) {
}
@@ -16,4 +20,17 @@ public class JavaTokenizer {
protected Comment processComment(int pos, int endPos, CommentStyle style) {
return null;
}
+
+ // used in java 16
+ protected JavaTokenizer(ScannerFactory fac, char[] buf, int inputLength) {
+ }
+
+ // used in java 16
+ protected JavaTokenizer(ScannerFactory fac, CharBuffer buf) {
+ }
+
+ // introduced in java 16
+ protected int position() {
+ return -1;
+ }
}