mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract method: annotate newly created method @Nullable when applicable (IDEA-76767)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Test {
|
||||
String foo(int i, boolean flag) {
|
||||
|
||||
@@ -8,6 +10,7 @@ class Test {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private String newMethod(int i, boolean flag) {
|
||||
String xxx = "";
|
||||
if (flag) {
|
||||
|
||||
Reference in New Issue
Block a user