convert to instance/move instance: support default methods in interfaces for java 8 (IDEA-154833)

This commit is contained in:
Anna.Kozlova
2016-04-18 12:54:50 +02:00
parent 4c06b785c0
commit 16f4b4c883
26 changed files with 400 additions and 17 deletions
@@ -0,0 +1,16 @@
public class Y {
public void foo() {
}
}
public class X {
static void <caret>method(Y y) {
System.out.println(y);
y.foo();
}
{
Y y = new Y();
method(y);
method(new Y());
}
}