Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui] Class usage in annotations is not tracked #2435

Open
3 tasks
BlackFan opened this issue Mar 7, 2025 · 3 comments
Open
3 tasks

[gui] Class usage in annotations is not tracked #2435

BlackFan opened this issue Mar 7, 2025 · 3 comments
Assignees
Labels
bug Core Issues in jadx-core module

Comments

@BlackFan
Copy link

BlackFan commented Mar 7, 2025

Issue details

Jadx does not track class usage in annotations, as a result:

  • Find Usage function for annotations returns an empty list
  • Rename function does not trigger an update of the decompiled code in the current window

Image

Which makes it much more difficult to work with minified code.

Jadx version

1.5.1

Java version

23.0.2

OS

  • Windows
  • Linux
  • macOS
@BlackFan BlackFan added bug GUI Issues in jadx-gui module labels Mar 7, 2025
@skylot
Copy link
Owner

skylot commented Mar 7, 2025

// TODO: process annotations and generics

Oops, @BlackFan thank you for report 👍

@skylot skylot self-assigned this Mar 7, 2025
@skylot skylot added Core Issues in jadx-core module and removed GUI Issues in jadx-gui module labels Mar 7, 2025
@skylot
Copy link
Owner

skylot commented Mar 21, 2025

@BlackFan can you share a sample apk with class name to look at? This will make fixing this issue much easier 🙂

@BlackFan
Copy link
Author

Open com.example.myapplication.MainActivity.
Try renaming CustomAnnotation or User that are used in MainActivity.

debug.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

2 participants