[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: def-use-chain

Anders H wrote:
Hi,

is there any support for uncovering def-use-chains in the org.eclipse.jdt.core APIs? Specifically, I wish to find all uses of a parameter within a method body. Any help is greatly appriciated!

Toggle on the Highlight Occurrences feature for the editor, then put the cursor on any part of the parameter name that you're interested in. It also works for other elements of code like methods, fields, exceptions, return values, classes, etc.
The Highlight Occurrences feature is available via a toggle button on the toolbar above the Java editor - icon looks like a yellow highlighter pen.


Hope this helps,
	Eric