Class ClassFileTransform
java.lang.Object
simula.compiler.transform.ClassFileTransform
ClassFileTransform.
Link to GitHub: Source File.
- Author:
- Øystein Myhre Andersen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
doRepairSingleByteCode
(String inputFileName, String outputFileName) Repair a single .class file.
-
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 aClassModel
.The method '_STM' is filtered from this model and transformed using the
SimulaCodeTransform
.- Parameters:
inputFileName
- the input .class file nameoutputFileName
- the output .class file name- Throws:
IOException
- if an I/O error occurs
-