Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting9/PrivateInInterfaces.java
T

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() {}
}