/** * Saves byte code to a temporary directory prefixed with "skylarkbytecode" in the system default * temporary directory. */ private void saveByteCode(Unloaded<CompiledFunction> unloadedImplementation) { if (debugCompiler) { try { if (debugFolder == null) { debugFolder = Files.createTempDirectory("skylarkbytecode").toFile(); } unloadedImplementation.saveIn(debugFolder); } catch (IOException e) { throw new RuntimeException(e); } } }