summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/refactoring/pushDown/FunctionalExpressionDefaultMethod.java
blob: f3a6b82b7e920d6c74fd3d7353c6814062506803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
interface Base {
    default void foo<caret>() {
        System.out.println("Hi there.");
    }
    void bar();
}

class Test {
  {
    Base base = () -> {};
  }
}

class Child implements Base {}