make static: remove inappropriate modifiers, add method body if needed (IDEA-197813)

This commit is contained in:
Anna Kozlova
2018-08-27 15:33:03 +03:00
parent 2d196a18f2
commit de2d0de27f
5 changed files with 58 additions and 4 deletions
@@ -0,0 +1,11 @@
// "Make 'foo' static" "true"
abstract class F {
static void foo() {
}
}
class B {
{
F.foo();
}
}
@@ -0,0 +1,10 @@
// "Make 'foo' static" "true"
abstract class F {
abstract void foo();
}
class B {
{
F.f<caret>oo();
}
}