Skip to content

Find Uses of Field - Automation #6258

Answered by dragonmacher
bdemick asked this question in Q&A
Discussion options

You must be logged in to vote

This is a feature that we are unlikely to work on any time soon. This is something you can explore if you have the inclination to get your hands dirtier than most. The way the type usage is processed now is a bit of a conceptual 'exploration', not as polished as our framework APIs.

The code is mostly well-written and tested, but is admittedly hard to understand. I will provide a course grained overview of the classes involved in the process here.

You have started your path an a relatively good place by looking at ReferenceUtils. That class will find applied types and discovered types (using the Decompiler). The code for finding the discovered types is this:

private static void findDataTyp…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bdemick
Comment options

@dragonmacher
Comment options

Answer selected by bdemick
@bdemick
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants