mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
23 lines
387 B
Java
23 lines
387 B
Java
// "Annotate overridden methods as '@NotNull'" "true"
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
abstract class P2 {
|
|
@NotNull<caret>
|
|
String foo(@NotNull P p) {
|
|
return "";
|
|
}
|
|
}
|
|
|
|
class PPP extends P2 {
|
|
@NotNull
|
|
String foo(P p) {
|
|
return super.foo(p);
|
|
}
|
|
}
|
|
class PPP2 extends P2 {
|
|
|
|
@NotNull
|
|
String foo(P p) {
|
|
return super.foo(p);
|
|
}
|
|
} |