Skip to main content

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

> I am wondering how this feature is implemented, is there any APIs to
> expose un-used variables?

[Please use the newsgroups/forums hosted on eclipse.org. The current
list is for JDT/Core developer's use.]

No, There is no API to expose these.

> Could anyone kindly point me to the correct place in JDT source code?

Please look at the references to/usages of
org.eclipse.jdt.internal.compiler.lookup.ExtraCompilerModifiers.AccLocallyUsed
org.eclipse.jdt.internal.compiler.lookup.LocalVariableBinding.UNUSED

as a starting point.

Srikanth



Back to the top