mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 05:24:17 +07:00
IDEA-353192 GitOrigin-RevId: 5f930ffb06158c40e786cd948c8f8d0982e61814
20 lines
412 B
Java
20 lines
412 B
Java
// "Annotate method 'dontAnnotateBase()' as '@NotNull'" "true-preview"
|
|
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";
|
|
}
|
|
}
|