mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
functional expressions & @FunctionalInterface based conflicts for pull up/push down refactorings
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@FunctionalInterface
|
||||
interface I {
|
||||
void foo();
|
||||
}
|
||||
|
||||
class IImpl implements I {
|
||||
public void foo(){}
|
||||
public void g<caret>et() {}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@FunctionalInterface
|
||||
interface I {
|
||||
void foo();
|
||||
|
||||
default void get() {}
|
||||
}
|
||||
|
||||
class IImpl implements I {
|
||||
public void foo(){}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@FunctionalInterface
|
||||
interface Base {
|
||||
default void foo() {
|
||||
System.out.println("Hi there.");
|
||||
}
|
||||
void ba<caret>r();
|
||||
}
|
||||
|
||||
class Child implements Base {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
@FunctionalInterface
|
||||
interface Base {
|
||||
default void foo() {
|
||||
System.out.println("Hi there.");
|
||||
}
|
||||
}
|
||||
|
||||
class Child implements Base {
|
||||
public abstract void bar();
|
||||
}
|
||||
Reference in New Issue
Block a user