mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
[mod-commands] Basic support for templates and member chooser
GitOrigin-RevId: e7df218ea71800e71409de20474f43eb758e41de
This commit is contained in:
committed by
intellij-monorepo-bot
parent
95f104864a
commit
4c7609bdd7
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
void foo() {
|
||||
foo(<selection>0<caret></selection>);
|
||||
}
|
||||
foo(<selection>0<caret></selection>);
|
||||
}
|
||||
|
||||
void foo(int ii){
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
abstract class Test {
|
||||
int foo(boolean... args) {
|
||||
return foo(<selection>0<caret></selection>, args);
|
||||
}
|
||||
return foo(<selection>0<caret></selection>, args);
|
||||
}
|
||||
|
||||
abstract int foo(int ii, boolean... args);
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
int foo() {
|
||||
return foo(0);
|
||||
}
|
||||
return foo(0);
|
||||
}
|
||||
|
||||
int foo(int ii){
|
||||
//comment1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded constructor with default parameter values" "true"
|
||||
class Test {
|
||||
Test() {
|
||||
this(<selection>0<caret></selection>);
|
||||
}
|
||||
this(<selection>0<caret></selection>);
|
||||
}
|
||||
|
||||
Test(int ii){}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
interface Test {
|
||||
default void foo() {
|
||||
foo(0);
|
||||
}
|
||||
foo(0);
|
||||
}
|
||||
|
||||
void foo(int ii);
|
||||
}
|
||||
@@ -3,9 +3,9 @@ class Test {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
void foo() {
|
||||
foo(0);
|
||||
}
|
||||
void foo() {
|
||||
foo(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param i
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded constructor with default parameter values" "true"
|
||||
record Test(int x) {
|
||||
Test() {
|
||||
this(0);
|
||||
}
|
||||
this(0);
|
||||
}
|
||||
|
||||
public Test {
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
int foo() {
|
||||
return foo(<selection>0<caret></selection>);
|
||||
}
|
||||
return foo(<selection>0<caret></selection>);
|
||||
}
|
||||
|
||||
int foo(int ii){
|
||||
return 1;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
interface Test {
|
||||
static void foo() {
|
||||
foo(0);
|
||||
}
|
||||
foo(0);
|
||||
}
|
||||
|
||||
static void foo(int ii) {}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
<T> int foo(boolean... args) {
|
||||
return foo(<selection>null<caret></selection>, args);
|
||||
}
|
||||
return foo(<selection>null<caret></selection>, args);
|
||||
}
|
||||
|
||||
<T> int foo(T ii, boolean... args){
|
||||
return 1;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
int foo(boolean... args) {
|
||||
return foo(<selection>0<caret></selection>, args);
|
||||
}
|
||||
return foo(<selection>0<caret></selection>, args);
|
||||
}
|
||||
|
||||
int foo(int ii, boolean... args){
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user