NullableStuffInspection: an option to not complain about generated implementation (IDEA-187625)

This commit is contained in:
peter
2018-04-27 16:48:31 +02:00
parent aed9e1a30b
commit 00222d2816
11 changed files with 166 additions and 7 deletions

View File

@@ -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) {
}
}

View File

@@ -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) {
}
}

View File

@@ -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) {
}
}

View File

@@ -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) {
}
}