aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac/util/Context.java
blob: 06b8ff4deea7d0ef3bcfbe66a8fd8e3315caed25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
	}
}