cfr
cfr copied to clipboard
increasing visibility to build an option panel
I've already just built an option panel in a GUI and this would be useful to have these methods as public for providing tooltip texts on the options instead of calling setAccessible(true) by reflection, so I thought it might make more sense to send this PR.
Unsatisfying code on my side is https://github.com/nbauma109/jd-gui-duo/blob/bd368eacc340db30c89f073832d615cffd535ccd/services/src/main/java/org/jd/gui/service/preferencespanel/CFRDecompilerPreferencesProvider.java#L49 https://github.com/nbauma109/jd-gui-duo/blob/bd368eacc340db30c89f073832d615cffd535ccd/services/src/main/java/org/jd/gui/service/preferencespanel/CFRDecompilerPreferencesProvider.java#L54
You may want to have a look at this GUI, it will help you to visualize decompiler bugs quickly
Example

As I also use reflection to gain access to option values, this would be nice to have.