mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
24 lines
477 B
Java
24 lines
477 B
Java
package foo;
|
|
|
|
import foo.A.OtherClass;
|
|
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 {}
|
|
} |