aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javadoc
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-07-08 04:58:00 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-07-08 04:58:00 +0200
commita6c1be550fd1911084faaf7f54ae7bbbd5673642 (patch)
treeb6c433593952e46ce5b1db9c4c9123e445769220 /src/stubs/com/sun/tools/javadoc
parent4923506d737718cec49e35aa9a273b3a999eefc6 (diff)
downloadlombok-a6c1be550fd1911084faaf7f54ae7bbbd5673642.tar.gz
lombok-a6c1be550fd1911084faaf7f54ae7bbbd5673642.tar.bz2
lombok-a6c1be550fd1911084faaf7f54ae7bbbd5673642.zip
A lot of refactoring on how javadoc is handled, to prepare for copying javadoc from field to setter/getter in javac.
Diffstat (limited to 'src/stubs/com/sun/tools/javadoc')
-rw-r--r--src/stubs/com/sun/tools/javadoc/DocCommentScanner.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java b/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java
new file mode 100644
index 00000000..e2ea9614
--- /dev/null
+++ b/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java
@@ -0,0 +1,25 @@
+/*
+ * 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.javadoc;
+
+import java.nio.CharBuffer;
+
+import com.sun.tools.javac.parser.Scanner;
+import com.sun.tools.javac.util.Context;
+
+public class DocCommentScanner extends Scanner {
+ protected DocCommentScanner(com.sun.tools.javadoc.DocCommentScanner.Factory fac, CharBuffer buffer) {
+ super(fac, buffer);
+ }
+
+ protected DocCommentScanner(com.sun.tools.javadoc.DocCommentScanner.Factory fac, char[] input, int inputLength) {
+ super(fac, input, inputLength);
+ }
+
+ public static class Factory extends Scanner.Factory {
+ protected Factory(Context context) {
+ super(context);
+ }
+ }
+}