I have for example an if clause which is always false (not that the variable is FINAL) e.g.:
public static final boolean FOO = false;
if (FOO) {
doSomething();
}
I want it to be shown for example in gray in Eclipse. So basically I would like this to work exactly like Visual C++ does this for macro if's which are unreachable.
Update: I want it to be shown real-time just like Eclipse compiles Java all the time when you make changes to code. This should be possible, shouldn't it? I know there are those dead code tools to do this afterwards but that's not what I like to do.