Interface Transformation

All Known Implementing Classes:
Assembling, Caching, Disassembling, Logging

public interface Transformation
Transformation interface.

This interface defines the contract for transformations that convert files from one format to another. Implementations handle specific transformation types like assembling XMIR to bytecode or disassembling bytecode to XMIR.

Since:
0.6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The path to the file to be transformed.
    The path to the transformed file.
    byte[]
    Transform the file.
  • Method Details

    • source

      Path source()
      The path to the file to be transformed.
      Returns:
      Path to the source file
    • target

      Path target()
      The path to the transformed file.
      Returns:
      Path to the target file after transformation
    • transform

      byte[] transform()
      Transform the file.
      Returns:
      Transformed file content as byte array