extract method: detect used lambda params in selection (IDEA-91345)

This commit is contained in:
Anna Kozlova
2012-09-12 00:03:38 +04:00
parent 48e283aaf3
commit e8f211bdd9
4 changed files with 26 additions and 7 deletions
@@ -0,0 +1,9 @@
class Test {
public void foo() {
Comparable<String> c = o -> newMethod(o);
}
private int newMethod(String o) {
return o.indexOf("foo");
}
}