extract method: use target class context to check nullability

This commit is contained in:
Anna Kozlova
2014-12-09 17:06:19 +01:00
parent 701a880f64
commit fc4434d241
4 changed files with 38 additions and 1 deletions
@@ -0,0 +1,14 @@
import org.jetbrains.annotations.NotNull;
class X {
public static String main(String[] args) {
<selection>System.out.println();
return f();
</selection>
}
@NotNull
String f() {
return "";
}
}