Recaf
Recaf copied to clipboard
Provide an interface that enables plugins to add Transformers to the DeobfuscationWindow
Provide an interface that enables plugins to add Transformers to the DeobfuscationWindow
Assuming that the current manual loading of the transformer into the DeobfuscationWindow remains unchanged, provide an interface for the Plugin to add a new transformer.
In this way, the existing transformer can be reused through a plugin as an adapter, eliminating the need to re-transplant the existing transformer.
Per the comment in the window class: https://github.com/Col-E/Recaf/blob/master/recaf-ui/src/main/java/software/coley/recaf/ui/window/DeobfuscationWindow.java#L135
// TODO: It would be nice to have the tree be auto-generated in some fashion.
// - But we may not want a flat category system, so an enum probably is too short-sighted.
// - It also shouldn't be annoying to configure for each transformer and how they show in the UI _(Without relying on anything in our UI module)_.
// - Not all transformers necessarily should be shown, so there needs to be some sort of filter system.