core: fix imports for inner classes with same names

This commit is contained in:
Skylot
2014-03-02 16:15:00 +04:00
parent 47d65fcd87
commit 56c0a588de
4 changed files with 69 additions and 6 deletions
@@ -0,0 +1,40 @@
package jadx.samples;
import jadx.samples.otherpkg.C.E;
import jadx.samples.otherpkg.D;
public class TestImports2 extends AbstractTest {
public Object f1() {
return new E() {
@Override
public String toString() {
return "C.E";
}
};
}
public Object f2() {
return new D.E() {
@Override
public String toString() {
return "D.E";
}
};
}
public static class X1 extends E {
}
public static class X2 extends D.E {
}
@Override
public boolean testRun() {
return true;
}
public static void main(String[] args) {
new TestImports2().testRun();
}
}
@@ -0,0 +1,7 @@
package jadx.samples.otherpkg;
public class C {
public static class E {
}
}
@@ -0,0 +1,7 @@
package jadx.samples.otherpkg;
public class D {
public static class E {
}
}