mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
21 lines
386 B
Java
21 lines
386 B
Java
// "Annotate method as @NotNull" "true"
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
class X {
|
|
@NotNull
|
|
String dontAnnotateBase() {
|
|
return "X";
|
|
}
|
|
}
|
|
class Y extends X{
|
|
String dontAnnotateBase() {
|
|
return "Y";
|
|
}
|
|
}
|
|
class Z extends Y {
|
|
@NotNull
|
|
String dontAnnotateBase<caret>() { // trigger quick fix for inspection here
|
|
return "Z";
|
|
}
|
|
}
|