diff options
Diffstat (limited to 'src/stubs/com/sun/tools/javac/util')
-rw-r--r-- | src/stubs/com/sun/tools/javac/util/Context.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javac/util/Context.java b/src/stubs/com/sun/tools/javac/util/Context.java new file mode 100644 index 00000000..06b8ff4d --- /dev/null +++ b/src/stubs/com/sun/tools/javac/util/Context.java @@ -0,0 +1,31 @@ +/* + * 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; + +public class Context { + public static class Key<T> { + } + + public interface Factory<T> { + T make(Context c); + T make(); + } + + public <T> void put(Key<T> key, Factory<T> fac) { + } + + public <T> void put(Key<T> key, T data) { + } + + public <T> void put(Class<T> clazz, T data) { + } + + public <T> T get(Key<T> key) { + return null; + } + + public <T> T get(Class<T> clazz) { + return null; + } +} |