anonymous -> method ref: collapse receiver method references to raw receiver (IDEA-153261)

This commit is contained in:
Anna.Kozlova
2016-03-18 20:49:43 +01:00
parent 6daac099e6
commit 81a6342d17
6 changed files with 36 additions and 8 deletions
@@ -5,6 +5,6 @@ import java.util.List;
class Sample {
List<Exception> foo = new ArrayList<>();
{
foo.forEach(Exception::printStackTrace);
foo.forEach(Throwable::printStackTrace);
}
}