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;
import java.util.List;
class Test {
@@ -11,6 +13,7 @@ class Test {
}
}
@Nullable
private Pojo newMethod() {
Pojo x = things.get(0);