Lines Matching defs:JavaCompiler
106 public class JavaCompiler {
108 public static final Context.Key<JavaCompiler> compilerKey = new Context.Key<>();
110 /** Get the JavaCompiler instance for this context. */
111 public static JavaCompiler instance(Context context) {
112 JavaCompiler instance = context.get(compilerKey);
114 instance = new JavaCompiler(context);
374 public JavaCompiler(Context context) {
868 /** Track when the JavaCompiler has been used to compile something. */
899 // as a JavaCompiler can only be used once, throw an exception if
995 throw new AssertionError("attempt to reuse JavaCompiler");