In IntelliJ, is there a way to change a decompiled class in a bytecode viewer?

By default, the bytecode viewer is in read-only mode.

Is there a way to change the code and save it to a new class file?

+4
source share
1 answer

There is a plugin called Bytecode Editor :

Provides browsing | Edit Bytecode action for those who are teaching the JVM Internals.

Based on ByteCode Viewer from JetBrains, but better:

  • it uses the editor tab instead of the popup
  • - .class
  • -: Ctrl + K, Ctrl + B
+3

Source: https://habr.com/ru/post/1674933/


All Articles