disable create method from usage/change signature based on void argument (IDEA-205710)

This commit is contained in:
Anna.Kozlova
2019-01-31 18:22:13 +01:00
parent c70be8885a
commit f2b9476d0f
4 changed files with 24 additions and 3 deletions
@@ -0,0 +1,9 @@
// "Change 1st parameter of method 'foo' from 'String' to 'void'" "false"
public class S {
void bar() {}
void foo(String s) {}
{
foo(b<caret>ar());
}
}
@@ -0,0 +1,8 @@
// "Create method 'bar'" "false"
class Test {
{
ba<caret>r(foo());
}
void foo() {}
}