mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java] More tests for preview; minor fixes
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7a1f179f41
commit
9c6aeba5b4
@@ -1,4 +1,4 @@
|
||||
// "Remove annotation" "true"
|
||||
// "Remove annotation" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Annotate method 'dontAnnotateBase' as @NotNull" "true"
|
||||
// "Annotate method 'dontAnnotateBase' as @NotNull" "true-preview"
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class X {
|
||||
@@ -14,7 +14,7 @@ class Y extends X{
|
||||
}
|
||||
class Z extends Y {
|
||||
@NotNull
|
||||
String dontAnnotateBase<caret>() { // trigger quick fix for inspection here
|
||||
String dontAnnotateBase<caret>() {// trigger quick fix for inspection here
|
||||
return "Z";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove annotation" "true"
|
||||
// "Remove annotation" "true-preview"
|
||||
|
||||
class Foo {
|
||||
<caret>int foo(){return 0;}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove annotation" "true"
|
||||
// "Remove annotation" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Annotate method 'dontAnnotateBase' as @NotNull" "true"
|
||||
// "Annotate method 'dontAnnotateBase' as @NotNull" "true-preview"
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class X {
|
||||
@@ -13,7 +13,7 @@ class Y extends X{
|
||||
}
|
||||
}
|
||||
class Z extends Y {
|
||||
String dontAnnotateBase<caret>() { // trigger quick fix for inspection here
|
||||
String dontAnnotateBase<caret>() {// trigger quick fix for inspection here
|
||||
return "Z";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove annotation" "true"
|
||||
// "Remove annotation" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user