Class Disassembling

  • All Implemented Interfaces:
    Transformation

    public final class Disassembling
    extends Object
    implements Transformation
    Disassembling transformation.

    This class implements the transformation process that converts Java bytecode into XMIR representation. It reads .class files and produces corresponding XMIR files in the specified target directory with configurable detail levels.

    Since:
    0.6.0
    • Method Detail

      • source

        public Path source()
        Description copied from interface: Transformation
        The path to the file to be transformed.
        Specified by:
        source in interface Transformation
        Returns:
        Path to the source file
      • target

        public Path target()
        Description copied from interface: Transformation
        The path to the transformed file.
        Specified by:
        target in interface Transformation
        Returns:
        Path to the target file after transformation
      • transform

        public byte[] transform()
        Description copied from interface: Transformation
        Transform the file.
        Specified by:
        transform in interface Transformation
        Returns:
        Transformed file content as byte array