cfr icon indicating copy to clipboard operation
cfr copied to clipboard

increasing visibility to build an option panel

Open nbauma109 opened this issue 3 years ago • 3 comments

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.

nbauma109 avatar Jun 01 '22 19:06 nbauma109

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

nbauma109 avatar Apr 01 '23 17:04 nbauma109

You may want to have a look at this GUI, it will help you to visualize decompiler bugs quickly

Example image

nbauma109 avatar Apr 01 '23 17:04 nbauma109

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

Col-E avatar Apr 01 '23 19:04 Col-E