mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 21:15:58 +07:00
23 lines
389 B
Java
23 lines
389 B
Java
public class MyClass {
|
|
|
|
private Inner inner;
|
|
|
|
public void test() {
|
|
inner = new Inner();
|
|
if (inner.isWriteReplace()) {
|
|
return inner.writeReplace();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private class Inner {
|
|
public boolean isWriteReplace() {
|
|
return false;
|
|
}
|
|
|
|
public boolean writeReplace() {
|
|
return false;
|
|
}
|
|
}
|
|
}
|