mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
push down: order abstract/default/static (IDEA-148492)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
default void fo<caret>o() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
class B implements A {}
|
||||
@@ -0,0 +1,7 @@
|
||||
interface Test {
|
||||
default void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
class B implements Test {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
interface Test {
|
||||
void foo();
|
||||
}
|
||||
|
||||
class B implements Test {
|
||||
@Override
|
||||
public void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
}
|
||||
|
||||
class B implements A {
|
||||
public void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
default void f<caret>oo() {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
|
||||
interface B extends A {}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
interface Test {
|
||||
default void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
interface A extends Test {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
interface Test {
|
||||
void foo();
|
||||
}
|
||||
|
||||
interface A extends Test {
|
||||
@Override
|
||||
default void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
}
|
||||
|
||||
interface B extends A {
|
||||
default void foo() {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,6 @@ interface Base {
|
||||
}
|
||||
}
|
||||
|
||||
class Child implements Base {
|
||||
abstract class Child implements Base {
|
||||
public abstract void bar();
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ interface Test {
|
||||
void bar();
|
||||
}
|
||||
|
||||
class Child implements Test {
|
||||
abstract class Child implements Test {
|
||||
@Override
|
||||
public abstract void bar();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
interface A {
|
||||
void fo<caret>o();
|
||||
}
|
||||
class B implements A {}
|
||||
@@ -0,0 +1,5 @@
|
||||
interface A {
|
||||
}
|
||||
abstract class B implements A {
|
||||
public abstract void foo();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
static void f<caret>oo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
class B implements A {}
|
||||
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
}
|
||||
|
||||
class B implements A {
|
||||
public static void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
static void f<caret>oo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
interface B extends A {}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
}
|
||||
|
||||
interface B extends A {
|
||||
static void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user