[change signature] ensure base method is refactored in functional expression case (IDEA-276192)

don't reorder usages for no reason

GitOrigin-RevId: 2bdeee871d696c7351addc4a1a8e886d148f6186
This commit is contained in:
Anna Kozlova
2021-08-18 13:00:42 +02:00
committed by intellij-monorepo-bot
parent 853f84791d
commit d43848c086
5 changed files with 35 additions and 33 deletions

View File

@@ -0,0 +1,13 @@
class Clazz {
public static void main(String[] args) {
Child child = x -> System.out.println();
}
}
interface Parent {
void exec<caret>ute(int i);
}
interface Child extends Parent {
void execute(int i);
}

View File

@@ -0,0 +1,13 @@
class Clazz {
public static void main(String[] args) {
Child child = () -> System.out.println();
}
}
interface Parent {
void exec<caret>ute();
}
interface Child extends Parent {
void execute();
}