extract method: annotate newly created method @Nullable when applicable (IDEA-76767)

This commit is contained in:
Anna Kozlova
2014-11-27 19:14:03 +01:00
parent 90456f2029
commit c28dee1968
10 changed files with 71 additions and 8 deletions
@@ -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) {