interface methods: adjust fixes to add/delete body (IDEA-212082)

GitOrigin-RevId: 4ecf568f2b8ed16ec0d11a56feaf2043b244302f
This commit is contained in:
Anna Kozlova
2019-05-23 14:04:56 +03:00
committed by intellij-monorepo-bot
parent e4d29358dc
commit 479cd22854
6 changed files with 37 additions and 2 deletions
@@ -0,0 +1,7 @@
// "Add method body" "true"
interface Some {
public static void m() {
<caret>
}
}
@@ -0,0 +1,6 @@
// "Make 'm' not default" "true"
class Some {
public void <caret>m() {
}
}
@@ -0,0 +1,5 @@
// "Add method body" "true"
interface Some {
public static void <caret>m();
}
@@ -0,0 +1,6 @@
// "Delete method body" "false"
class Some {
public default void <caret>m() {
}
}
@@ -0,0 +1,6 @@
// "Make 'm' not default" "true"
class Some {
public default void <caret>m() {
}
}