mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +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:
+8
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
bar();
|
||||
}
|
||||
|
||||
void bar(<caret>){
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
bar();
|
||||
}
|
||||
|
||||
boolean bar(int param){
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
TestMeabracadabra(<caret>){
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestMeabracadabra t = new TestMeabracadabra();
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
TestMeabracadabra(int param){
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestMeabracadabra t = new TestMeabracadabra();
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package refactoring.changeSignatureGesture;
|
||||
class TestMeabracadabra {
|
||||
private TestMeabracadabra(<caret>){
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user