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