@Nonnull
	private ScriptResult handleExecute(@Nonnull String script) {
		GenerateResult result = generate(script);
		if (result.cls() != null) {
			try {
				logger.debugging(l -> l.info("Allocating script instance"));
				Object instance = allocator.instance(result.cls());
				Method run = ReflectUtil.getDeclaredMethod(instance.getClass(), "run");
				run.setAccessible(true);
				run.invoke(instance);
				logger.debugging(l -> l.info("Successfully ran script"));
				return new ScriptResult(result.diagnostics());
			} catch (Exception ex) {
				logger.error("Failed to execute script", ex);
				return new ScriptResult(result.diagnostics(), ex);
			}
		} else {
			logger.error("Failed to compile script");
			return new ScriptResult(result.diagnostics());
		}
	}
Compiles and executes the script.
If the same script has already been compiled previously, the prior class reference will be used
to reduce duplicate compilations.

@param script
		Script to execute.

@return Result of script execution.
recaf-core/src/main/java/software/coley/recaf/services/script/JavacScriptEngine.java