core: fix class imports
This commit is contained in:
@@ -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 {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user