constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717)

This commit is contained in:
peter
2016-10-19 19:27:57 +02:00
parent 5b863d7817
commit 1831c53320
5 changed files with 52 additions and 7 deletions
@@ -2,6 +2,8 @@ abstract class Foo{
public Foo(int x) {
}
abstract int foo();
{
Foo f = new F<caret>
}
@@ -2,6 +2,8 @@ abstract class Foo{
public Foo(int x) {
}
abstract int foo();
{
Foo f = new Foo(<selection>x</selection><caret>) {}
}
@@ -0,0 +1,15 @@
abstract class Foo{
public Foo(int x) {
}
abstract int foo();
{
Foo f = new Foo(x) {
@Override
int foo() {
return 0;
}
}
}
}