cs: pass this as default value when anyVar is selected and this type would be applicable (IDEA-59510)

This commit is contained in:
anna
2010-10-26 12:19:36 +04:00
parent a6a79f8028
commit 950399fc9b
4 changed files with 65 additions and 0 deletions
@@ -0,0 +1,18 @@
import java.util.List;
class C {
void <caret>method() {
}
}
class Usage implements List {
{
final C c = new C();
c.method();
new Runnable() {
public void run() {
c.method();
}
}.run();
}
}