Easiest way to edit/modify compiled class file
decompiling, java
Solution
A solution could be the use of bytecode manipulators like ASM or BCEL. They both provide an API to load a class file, change part of it and save it. ASM has the advantage to be able to do this during runtime.
Problem
My main problem is that i have some class files from a game where i wan't to edit/modify parts of it What would be the easiest way to achieve this ? Decompiling the whole code and recompiling is not an option unless you have some decompiler that doesn't cause errors in the source code, as i do not wish to spend time fixing them. Best regards