ParseTreeNode root, boolean es53, boolean debug) {
UriFetcher fetcher = makeFetcher(gadgetUri, container);
UriPolicy policy = makePolicy(gadgetUri);
URI javaGadgetUri = gadgetUri.toJavaUri();
MessageQueue mq = new SimpleMessageQueue();
MessageContext context = new MessageContext();
PluginMeta meta = new PluginMeta(fetcher, policy);
PluginCompiler compiler = makePluginCompiler(meta, mq);
compiler.setMessageContext(context);
if (moduleCache != null) {
compiler.setJobCache(new ModuleCache(moduleCache));