Class ClassFileTransform

java.lang.Object
simula.compiler.transform.ClassFileTransform

public abstract class ClassFileTransform extends Object

ClassFileTransform.

Link to GitHub: Source File.

Author:
Øystein Myhre Andersen
  • Constructor Details

    • ClassFileTransform

      private ClassFileTransform()
      Default Constructor: NOT USED
  • Method Details

    • doRepairSingleByteCode

      public static void doRepairSingleByteCode(String inputFileName, String outputFileName) throws IOException

      Repair a single .class file.

      A ClassFile is read and parsed into a ClassModel.

      The method '_STM' is filtered from this model and transformed using the SimulaCodeTransform.

      Parameters:
      inputFileName - the input .class file name
      outputFileName - the output .class file name
      Throws:
      IOException - if an I/O error occurs