mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
24 lines
468 B
Java
24 lines
468 B
Java
package foo;
|
|
|
|
import foo.A.*;
|
|
import foo.A.Person;
|
|
import foo.B.BasicPerson;
|
|
|
|
class Client {
|
|
public void method(OtherClass otherClass) {
|
|
Person person = null;
|
|
BasicPerson person2 = null;
|
|
}
|
|
}
|
|
|
|
class A {
|
|
public interface Person {}
|
|
public static class BasicPerson implements Person {}
|
|
public static class OtherClass {}
|
|
}
|
|
|
|
class B {
|
|
public interface Person {}
|
|
public static class BasicPerson implements Person {}
|
|
public static class OtherClass {}
|
|
} |