mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
17 lines
356 B
Java
17 lines
356 B
Java
public class A extends ASuper {
|
|
private final MyIntf myDelegate = new MyIntf();
|
|
|
|
public Intf getMyDelegate() {
|
|
return myDelegate;
|
|
}
|
|
|
|
private class MyIntf implements Intf {
|
|
public void method1 () {
|
|
System.out.println("1");
|
|
}
|
|
|
|
public void method2() {
|
|
A.this.method2();
|
|
}
|
|
}
|
|
} |