Plugins made for the jetbrains intellij platform.
Tools to support de-obfuscated code refactoring
Name | Description | Example | After |
---|---|---|---|
Pointless Bitwise Comparator | Simplifies bitwise comparators | (i ^ 0xffffffff) <= -1 |
|
Inverse Else Comparator | Reverses negative if else statements | if (i != 1) { |
if (i == 1) { |
Inline Nested Else | Inlines else blocks containing if statements | else { if(...) { |
else if(...) { |
Taken from jetbrains managing-plugins guide https://www.jetbrains.com/help/idea/managing-plugins.html
- In the Settings/Preferences dialog (Ctrl+Alt+S), select Plugins.
- In the Plugins dialog, click and then click Install Plugin from Disk.
- Select the plugin archive file and click OK.
- Click OK to apply the changes and restart the IDE if prompted.
If code in your project code matches one of the tools it will be highlighted
Open the intention actions and quick-fixes menu by pressing the light bulb icon next to the highlighted code (Alt + Enter)
The intention menu can be used to apply a single quick-fix or by pressing the right arrow key additional options can be selected such as fixing all in file, module or project.
Inspections can also be ran by name
Analyze -> Run inspection by name
(Ctrl + Shift + Alt + I)