When I extracted a superClass, the following search for usages did not seem
to work.
A class that looks like this:
public class Base
{
public void sayFoo()
{
System.out.println("Foo");
}
public void sayBar()
{
System.out.println("Bar");
}
}
and this code somewhere else:
Base b = new Base();
b.sayFoo();
I do refactor/extract superclass on Base, create new class called
SuperClass, add member method sayFoo.
I then do the search for usages of Base to replace with usages of
SuperClass.
I get:
"References of class base to be replaced with references to class SuperClass
(Not found)"
Should it not find the previously shown code that calls sayFoo(),
and suggest it to be changed to:
SuperClass b = new SuperClass();
b.sayFoo();
-Andreas Gerold
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list