If you use a fully-qualified class name in the parameter list,
you could have problems with the code inspection.

In the code below if you do code inspection in Test,
it says that doSomething is not used. But it's used in Test2.
BTW, Find Usages works correctly in this case and find
the usage in Test2 just fine.


Timur Zambalayev


===========================================
// Test.java
class Test {
    void doSomething(java.util.List list) {
        System.out.println("list="+list);
    }
}
===========================================
// Test2.java
import java.util.ArrayList;

class Test2 {
    void f() {
        Test t=new Test();
        t.doSomething(new ArrayList());
    }

}
===========================================


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

Reply via email to