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

Answered

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
1 comment

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

Please sign in to leave a comment.