Hi

> [...]
> yes, I know that this example with a "pre-implementing" base class 
> is probably just bad style ...

What about this example:

package java.utils;

abstract class Dictionary
{
    public abstract int size();
}

interface Collection
{
   int size();
}

class HashMap extends Dictionary implements Collection
{
    int size() { 
        ... 
    }
}
This is simplified version of what is in java collection library.

In this case Idea also cannot find usage of one of the
overloaded/implemented size methods. 
I do not remember which one. And if you try to rename the size method the
new code stops to compile,
because one of the method is not overloaded/implemented.

It would be nice if Idea could detect such cases. But it is really nasty
task to detect all such cases. 
One way to do this is going to all descendant types and then to all
ascendants for every type containing that method.

:-) Ada

Ps. I am really impressed with Idea features. Excellent job.

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to