mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-28 22:59:54 +07:00
15 lines
328 B
Java
15 lines
328 B
Java
interface A {
|
|
private void m() {}
|
|
}
|
|
|
|
interface B {
|
|
<error descr="Private methods in interfaces should have a body">private void m()</error>;
|
|
}
|
|
|
|
interface C {
|
|
private <error descr="Illegal combination of modifiers: 'default' and 'private'">default</error> void m() {}
|
|
}
|
|
|
|
interface D {
|
|
private static void m() {}
|
|
} |