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,17 @@
public class Y {
void method() {
System.out.println(this);
foo();
}
public void foo() {
}
}
public class X {
{
Y y = new Y();
y.method();
new Y().method();
}
}