简体   繁体   English

Java反编译器未提供完整的源代码

[英]Java decompiler is not giving full source code

I have tried to decompile .class file with JD . 我试图用JD反编译.class文件。 BUt i got Strange code in it(Static call to a non static method, Classname.this.method etc.) . 但是我得到了奇怪的代码(对非静态方法的静态调用,Classname.this.method等)。

Could you please tell me whether it will give 100 percent source code or not? 您能否告诉我它是否会提供100%的源代码?

No, java decompilers can't give you the exact source code back. 不,Java反编译器无法提供确切的源代码。 Many compiler optimizations will not be reflected back in the generated file. 许多编译器优化不会在生成的文件中反映出来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM