mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
45 lines
759 B
Java
45 lines
759 B
Java
class Main {
|
|
void m(A a) {
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
((AImpl) a).getB().getC().getD();
|
|
}
|
|
}
|
|
|
|
class A {
|
|
|
|
}
|
|
|
|
class AImpl extends A {
|
|
B getB() {
|
|
return new B();
|
|
}
|
|
}
|
|
|
|
class B {
|
|
C getC() {
|
|
return new C();
|
|
}
|
|
}
|
|
|
|
class C {
|
|
D getD() {
|
|
return new D();
|
|
}
|
|
}
|
|
|
|
class D {
|
|
|
|
}
|