mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
change signature detection: ignore changes in return type when no other changes were made; include new return type in result change info; leave suggestion when method become unused due to return type deletion
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
bar();
|
||||
}
|
||||
|
||||
void bar(<caret>){
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
bar();
|
||||
}
|
||||
|
||||
boolean bar(int param){
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
TestMeabracadabra(<caret>){
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestMeabracadabra t = new TestMeabracadabra();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
TestMeabracadabra(int param){
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestMeabracadabra t = new TestMeabracadabra();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
private TestMeabracadabra(<caret>){
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user