mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 10:21:05 +07:00
19 lines
306 B
Java
19 lines
306 B
Java
class Parent{
|
|
|
|
protected Child createChild() {
|
|
return null;
|
|
}
|
|
|
|
static class Child {
|
|
}
|
|
}
|
|
|
|
class SubClass extends Parent {
|
|
//Do not shorten Parent.Child to Child
|
|
protected Parent.Child createChild() {
|
|
return null;
|
|
}
|
|
|
|
class Child extends Parent.Child {}
|
|
}
|