You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use find Usage(x) on a public static field of a interface class, there is no result.
But I do found the field used by other class, and can be redirected to the field by double-click
The text was updated successfully, but these errors were encountered:
@zzzzfeng please share a sample and class/field name, otherwise I can't reproduce and fix this issue.
skylot
changed the title
[feature] find usage of public field of interface in all classes
[gui] Find usage of public field of interface in all classes
Mar 15, 2023
Oh, I see! This field actually not used in bytecode because it is replaced by compiler to its string value. But during decompilation jadx tries to replace string back to field usage. So as result if you open only IBundleManager class you will see 0 usages, but after also opening BundleManager new use places will be added from that class, so next time usage list will not be empty.
As workaround for now, you can disable Replace constants option in preferences, so strings will be not replaced by fields.
Another workaround is to force decompilation of all classes by searching some not used string to see complete results (maybe I should add Decompile All button 🙂)
When I use
find Usage(x)
on a public static field of a interface class, there is no result.But I do found the field used by other class, and can be redirected to the field by double-click
The text was updated successfully, but these errors were encountered: