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

Class reference searching #1

Open
shellderp opened this issue Apr 25, 2012 · 1 comment
Open

Class reference searching #1

shellderp opened this issue Apr 25, 2012 · 1 comment
Labels
Milestone

Comments

@shellderp
Copy link
Owner

need a way to find references to a given class. one way would be to search for ConstantClass entries that have the classes name. could implement constant reference search, and use it for this

add to class context menu

@shellderp
Copy link
Owner Author

more specifically, a good way would be to have a findConstantReferences function that searches for all references to a constant in a given class, but checks if the classes constantpool contains it before finding references

then this function can be called on all loaded classes, and will still be efficient (won't search methods if the constant isn't even used in the class)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant