Recaf
Recaf copied to clipboard
Port batch decompile plugin to UI
Since many people want to use Recaf as a decompiler multi-bundle we should probably offer this as a feature in the UI module.
Maybe under File > Decompile or something.
Process:
- Pick target decompiler
- Current as default value, populate rest from
DecompileManager
- Current as default value, populate rest from
- Optional: Filters to include/exclude classes/packages
- Optional: Include files in addition to decompiled sources
- Optional: Include config files to decompile code into a runnable workspace (maven/gradle project?)
- Would map sources to
src/main/java/<path>and files tosrc/main/resources/<path> - Then generate any additional config files
- Would map sources to
Things to consider:
- Do not decompile inner classes if the decompiler will include them in the outer classes
- Currently we do not expose decompiler-specific options in the UI, so there is no way to disable this for now. But later when we do it will be relevant.
I would suggest to make the "runnable workspace" part as an independent issue, as this can be coupled with a maven repo resolver and gradle version checker.
Added in 4x