mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 03:12:15 +07:00
GitOrigin-RevId: 2f32664c77558fc4507a8a6ecc327f6c91b7d815
21 lines
341 B
Java
21 lines
341 B
Java
interface AccountModule {
|
|
static void createAccount(String a, String b) {
|
|
}
|
|
|
|
default void createAccount(String a) {
|
|
createAccount(a, getB());
|
|
}
|
|
|
|
String getB();
|
|
}
|
|
class UseModule implements AccountModule {
|
|
|
|
public void createSome() {
|
|
<caret>createAccount("");
|
|
}
|
|
|
|
@Override
|
|
public String getB() {
|
|
return "";
|
|
}
|
|
} |