How Do I Remove "this." From Decompiled Code?

已回答

A few years ago, someone decompiled some third-party code and added it to the project.

I'm now also decompiling the code and comparing it to the code that was checked in to try to understand what was changed and why.

However, when I decompile in IDEA it adds "this." to methods.

Is it possible to configure Fernflower to not output the this keyword?

0

Hi.

Unfortunately, no. In general, the decompiler doesn't have full information to decide whether it is safe to omit the qualifier and attempts to do that caused incorrect code in the past.

0

请先登录再写评论。