mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
java completion: fix "{} ()" when choosing anonymous class constructor with parameters
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
abstract class Foo{
|
||||
public Foo(int x) {
|
||||
}
|
||||
|
||||
{
|
||||
Foo f = new F<caret>
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
abstract class Foo{
|
||||
public Foo(int x) {
|
||||
}
|
||||
|
||||
{
|
||||
Foo f = new Foo(<selection>x</selection><caret>) {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Foo{
|
||||
Foo(int arg) {
|
||||
}
|
||||
|
||||
{
|
||||
Foo f = new F<caret>
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class Foo{
|
||||
Foo(int arg) {
|
||||
}
|
||||
|
||||
{
|
||||
Foo f = new Foo(<selection>arg</selection><caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Foo{
|
||||
{
|
||||
Foo f = new F<caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Foo{
|
||||
{
|
||||
Foo f = new Foo()<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo{
|
||||
Foo(int arg) {
|
||||
}
|
||||
Foo(boolean arg) {
|
||||
}
|
||||
Foo() {
|
||||
}
|
||||
|
||||
{
|
||||
Foo f = new F<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user