summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambda/beforeCallToDefaultFromFunctionalInterface.java
blob: 0a91eea1bd34297fa1674ce374a857586672d820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// "Replace with lambda" "false"
class Test {
  interface InOut {
    void run() throws IOException;
    default void foo(){}
  }

  InOut bind() {
    return new In<caret>Out() {
      @Override
      public void run() throws IOException {
        foo();
      }
    };
  }
}