mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
NullableStuffInspection: an option to not complain about generated implementation (IDEA-187625)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MyTestClass {
|
||||
@NotNull
|
||||
String implementMe(@NotNull String arg);
|
||||
}
|
||||
|
||||
public class MyRealTestClass implements MyTestClass {
|
||||
@NotNull
|
||||
String implementMe(String arg) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MyTestClass {
|
||||
@NotNull
|
||||
String implementMe(@NotNull String arg);
|
||||
}
|
||||
|
||||
public class MyRealTestClass implements MyTestClass {
|
||||
String implementMe(@NotNull String arg) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MyTestClass {
|
||||
@NotNull<caret>
|
||||
String implementMe(@NotNull String arg);
|
||||
}
|
||||
|
||||
public class MyRealTestClass implements MyTestClass {
|
||||
String implementMe(String arg) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MyTestClass {
|
||||
@NotNull
|
||||
String implementMe(@NotNull<caret> String arg);
|
||||
}
|
||||
|
||||
public class MyRealTestClass implements MyTestClass {
|
||||
String implementMe(String arg) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user