mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
correctly generate anonymos body when completing after new inside another anonymous
This commit is contained in:
+19
@@ -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();
|
||||
}
|
||||
+14
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user