core: fix class imports

This commit is contained in:
Skylot
2014-02-26 23:01:00 +04:00
parent 1b5f0f6af6
commit 85ab095630
3 changed files with 39 additions and 2 deletions
@@ -0,0 +1,25 @@
package jadx.samples;
import jadx.samples.otherpkg.A;
/**
* Tests:
* - class B not imported
*/
public class TestImports extends AbstractTest {
public class C extends A {
public B getB() {
return null;
}
}
@Override
public boolean testRun() {
return true;
}
public static void main(String[] args) {
new TestImports().testRun();
}
}
@@ -0,0 +1,7 @@
package jadx.samples.otherpkg;
public class A {
protected class B {
}
}