move instance method processor: expand method reference to lambda when needed

This commit is contained in:
Anna.Kozlova
2017-04-12 17:31:06 +02:00
parent 17848f40a4
commit 603dfac67a
6 changed files with 103 additions and 30 deletions
@@ -10,7 +10,7 @@ class Test {
private final Destination destination = new Destination();
public void main(Stream<Destination> stream){
stream.filter(Test.Destination::notNull);
stream.filter(Destination::notNull);
}
}