IDEA plugin for Java class bytecode editor, based on ASM and BCEL.
- Modify info of class, field, inner class and method.
- Edit method bytecode instructions, local variable table, exception table, and line number table.
- Modify constant pool.
- Support class file and class in JAR.
First install the plugin JarEditor from marketplace, IDEA at least version 2020.3
Right click on class file -> Visual ClassBytes, you can open VisualClassBytes editor.
Then you can modify class ,field,inner class and method info etc.
Open the method node to modify the bytecode instructions.
You can also modify local variable,exception table,line number and etc.
Open the constant pool node to modify constant.