code: def prepare(self):
      # Create files generated by exporter in the temp dir.
      code = export_to_java(self.model, class_name=self.class_name)
      code_file_name = (
          self._resource_tmp_dir / f"{self.class_name}.java"
      )
      utils.write_content_to_file(code, code_file_name)
  
      # Move Executor.java to the same temp dir.
      module_path = Path(__file__).absolute().parent
      executor_path = self._resource_tmp_dir / "Executor.java"
      copyfile(module_path / "Executor.java", executor_path)
  
      # Compile all files together.
      utils.execute_command(
          [
              str(self._javac_bin),
              str(code_file_name),
              str(executor_path),
          ]
      )
  
file_path: m2cgen/tests/e2e/executors/java.py
imports: from os import environ
  from pathlib import Path
  from shutil import copyfile
  from m2cgen import export_to_java
  from tests import utils
  from tests.e2e.executors.base import BaseExecutor
label_desc: Use image node_id 3 for calling the JavaExecutor obj's underlying member method code with example usage: obj.prepare() without return types