ingokegel / jclasslib

jclasslib bytecode editor is a tool that visualizes all aspects of compiled Java class files and the contained bytecode.
Other
2.73k stars 411 forks source link

[feature] Modify kotlin's class file #71

Closed zhongqingsong closed 1 year ago

zhongqingsong commented 1 year ago

More and more are being developed with kotlin, and now I have a problem. Most of kotlin is directly compatible with Java, but there is one very special keyword: internal This keyword is unique to kotlin, so I don't think this tool can modify this keyword at present. This causes problems modifying the class file. So, can you support kotlin class file modification? The best thing is to add a feature that can switch between java and kotlin so that both can be modified. Or if it is more troublesome, can you do a function: let us can remove the kotlin internal keyword.This way, we can call the full API in the jar.

Snipaste_2023-05-05_16-13-35 I need to call the interface in this jar, but it won't work right now.

Snipaste_2023-05-05_16-13-58 So all of this is just one keyword, which is my biggest problem now!!!

zhongqingsong commented 1 year ago

end it.