Package org.eolang.opeo
Class SelectiveDecompiler
java.lang.Object
org.eolang.opeo.SelectiveDecompiler
- All Implemented Interfaces:
Decompiler
Selective decompiler.
Decompiler that decompiles ONLY fully understandable methods.
These methods contain only instructions that are
supported by
RouterHandler
.- Since:
- 0.1
-
Constructor Summary
ConstructorsConstructorDescriptionSelectiveDecompiler
(Path input, Path output, Path modified) Constructor.SelectiveDecompiler
(Path input, Path output, Path modified, String... supported) Constructor.SelectiveDecompiler
(Storage storage, Storage modified) Constructor.SelectiveDecompiler
(Storage storage, Storage modified, String... supported) Constructor. -
Method Summary
-
Constructor Details
-
SelectiveDecompiler
Constructor.- Parameters:
input
- Input folder with XMIRs.output
- Output folder where to save the decompiled files.modified
- Folder where to save the modified XMIRs.
-
SelectiveDecompiler
Constructor.- Parameters:
input
- Input folder with XMIRs.output
- Output folder where to save the decompiled files.modified
- Folder where to save the modified XMIRs.supported
- Supported opcodes are used in selection.
-
SelectiveDecompiler
Constructor.- Parameters:
storage
- Storage from which retrieve the XMIRs and where to save the modified ones.modified
- Storage where to save the modified of each decompiled file.
-
SelectiveDecompiler
Constructor.- Parameters:
storage
- Storage from which retrieve the XMIRs and where to save the modified ones.modified
- Storage where to save the modified of each decompiled file.supported
- Supported opcodes are used in selection.
-
-
Method Details
-
decompile
public void decompile()Description copied from interface:Decompiler
Decompile EO to high-level EO. EO represented by XMIR.- Specified by:
decompile
in interfaceDecompiler
-