inline: don't check containing method call if inline to method reference

This commit is contained in:
Anna.Kozlova
2017-03-14 14:17:14 +01:00
parent 1e9f6352f2
commit 9574fa7a6e
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,14 @@
import java.util.function.Supplier;
class Foo {
static int m() {
return 1;
}
void o(){
mm(Foo::<caret>m);
}
void mm(Supplier<Integer> r) {}
}