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

Thanks!

Is the source code for this tutorial available anywhere?

-- Anders

"Jacek Pospychala" <jacek.pospychala@xxxxxxxxxx> wrote in message 
news:fbn64n$umo$1@xxxxxxxxxxxxxxxxxxxx
> Anders,
> Maybe this dirty little secrets tutorial will put more light on topic you 
> are looking for:
> www.cs.purdue.edu/homes/baker29/pldi05-tutorials/Static%20Analysis%20for%20*Java*%20in%20*Eclipse*.pdf
>
> Anders H wrote:
>> Thanks!
>>
>> Do you also know where the relevant sources for this functionality is 
>> located. I need it for a custom plugin.
>>
>> -- Anders
>>
>> "Eric Rizzo" <eclipse5@xxxxxxxxxxxx> wrote in message 
>> news:fbklqa$qop$4@xxxxxxxxxxxxxxxxxxxx
>>
>>> 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
>>
>>
>>