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