correctly generate anonymos body when completing after new inside another anonymous

This commit is contained in:
peter
2010-05-31 21:44:06 +01:00
parent 46bd89c489
commit 7c51c98375
4 changed files with 52 additions and 20 deletions
@@ -0,0 +1,19 @@
public class Foo {
public Foo() {
Runnable r = new Runnable() {
public void run() {
Goo<String> g = new Goo<String>() {
@Override
void foo() {
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
}
};
}
};
}
}
abstract class Goo<T> {
abstract void foo();
}
@@ -0,0 +1,14 @@
public class Foo {
public Foo() {
Runnable r = new Runnable() {
public void run() {
Goo<String> g = new G<caret>
}
};
}
}
abstract class Goo<T> {
abstract void foo();
}