"Cedric ROUVRAIS" wrote :
> How would you go about of detecting none use of a variable that is either
> public, protected or package?
If a "find usage" returns "no usage found", it's unused to me, whether it's
access is private, public, protected or package.
Alain Ravet
> How would you go about of detecting none use of a variable that is either
> public, protected or package?
>
> Ok, package could be done quite easily by parsing all the classes that are
> within the same package, but protected and public? it's impossible to
> determine ...
>
> Which makes me think: IDEA has a cool feature indicator (green, yellow,
red)
> that is accesible when the source file is open ... can't we have that
> feature available in the project view of all files?
>
> -----Original Message-----
> In the code below, only the 1st field
> private int val1 ;
> is detected - and coloured - as "never used".
>
> Alain Ravet
>
> public class TK
> {
> private int val1 ;
> protected int val2 ;
> int val3 ;
> public int val4 ;
>
> }
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list