mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
21 lines
389 B
Java
21 lines
389 B
Java
// "Annotate overriding method parameters as '@NotNull'" "true"
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
abstract class P2 {
|
|
@NotNull
|
|
String foo(@NotNull<caret> P p) {
|
|
return "";
|
|
}
|
|
}
|
|
|
|
class PPP extends P2 {
|
|
String foo(@NotNull P p) {
|
|
return super.foo(p);
|
|
}
|
|
}
|
|
class PPP2 extends P2 {
|
|
|
|
String foo(@NotNull P p) {
|
|
return super.foo(p);
|
|
}
|
|
} |