I have a class B that is defined as an inner class for A
package hello; class A { static class B {
I am editing the third class C , and I need to declare an AB object:
AB something = new AB(...);
If I use Eclipse code completion, and I let Eclipse output the type of expression, I get something like this:
import hello.A; import hello.AB;
Is there a way to avoid this behavior and use eclipse using AB instead of importing it?
I would like to:
import hello.A; class C { void foo() { AB something = new AB(...); } }
source share