|
MethodBodyEditor for Java
MethodBodyEditor for Java
A Java class editor
Just Open the desired Java class (File->Open)
and then select the desired method from "Methods" tree
after that you will see a list with all instructions
of selected method. In order to edit instructions
double click on instruction or do a right click on the instruction
and select from menu "Show Opcode"
then simple enter the hexadecimal opcodes of new instructions
and click OK.
Finally save with File->Save.
MethodBodyEditorJava8:
- Added Java 8 new contants pools:
http://www.docjar.com/html/api/com/sun/tools/classfile/ConstantPool.java.html
- Added search member name: File->Search
MethodBodyEditor v2:
- Added jar support, now you can select a class from jar,
- It will output as jar if save file name end with .jar (jar extension)! (But it takes some time!)
- Nop between Block Start and Block End - including margins
* on method body: click choose start instruction and click "Block start", choose end instruction and click "Block end",
finally nop between them by clicking on "Nop Start-End".
MethodBodyEditor v1.1, MethodBodyEditor v2.1
New:
- added invokedynamic opcode
|