I'd like a feature to find usages of a method that is defined in the 
superclass and not overridden but the find usage is narrowed to the 
subclass. In this case, Superclass has many, many sublcasses and I want 
to only find usages of findMyUsages() for a particular subclass. I put 
my cursor on findMyUsages() in the Subclass and expected to be able to 
find usages that are narrowed to the Subclass. If I temporarily define 
findMyUsages() in the Subclass just to find the proper usages, I can do 
what I want. In essence, I'm requesting a feature for finding a method 
that is not overriden that matches the current behavior of Find usage 
when the method is defined in the subclass (it gives you a warning and 
an option to finding usage for either current class or base class).

public class Superclass {

    public void findMyUsages() {
    }
}
public class Subclass extends Superclass {

    public void method() {
        ...
        findMyUsages();
        ...
    }

}

Thanks,
Jon


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

Reply via email to