diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-28 00:59:37 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-28 00:59:52 +0100 |
commit | 15c44f54ccd7cc4502d12b79e6f91074e4e916bc (patch) | |
tree | a8edc6e4eacd56473b8ac7a4866c7ccad0666172 /src/stubs/com/sun/tools/javac/code/Symtab.java | |
parent | b1b49e062e5d64877891ecd327c1ffbd00df5636 (diff) | |
download | lombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.tar.gz lombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.tar.bz2 lombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.zip |
JDK9 support for delombok (and thus, for running the tests under JDK9).
Diffstat (limited to 'src/stubs/com/sun/tools/javac/code/Symtab.java')
-rw-r--r-- | src/stubs/com/sun/tools/javac/code/Symtab.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javac/code/Symtab.java b/src/stubs/com/sun/tools/javac/code/Symtab.java new file mode 100644 index 00000000..2b524e4c --- /dev/null +++ b/src/stubs/com/sun/tools/javac/code/Symtab.java @@ -0,0 +1,20 @@ +/* + * 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.code; + +import com.sun.tools.javac.code.Symbol.ClassSymbol; +import com.sun.tools.javac.code.Symbol.ModuleSymbol; +import com.sun.tools.javac.util.Context; + +public class Symtab { + // Shared by JDK6-9 + public ClassSymbol methodClass; + public Type iterableType; + public Type objectType; + public static Symtab instance(Context context) {return null;} + public Type unknownType; + + // JDK 9 + public ModuleSymbol unnamedModule; +} |