Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] APIs for finding un-used variables.

Hi all:

I am fascinated by this features provided by JDT: it highlights un-used variables in a program.

for example:

x = 1;
y = 1;  // y is not used, jdt will give a warning to highlight it
foo(x);


I am wondering how this feature is implemented, is there any APIs to expose un-used variables?
Could anyone kindly point me to the correct place in JDT source code?

Really appreciate your help!


--

          Thanks

                    Sai

Back to the top