mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// "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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user