summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambdaCodeBlock2Expr/beforeReturnTypeInExpressionStatement.java
blob: e5be2cdba07848857c5f5e48da1f203ff99deefe (plain)
1
2
3
4
5
6
7
8
// "Replace with expression lambda" "false"
class Test {
  {
    Runnable c = () -> <caret>{foo();};
  }
  
  int foo() {return 1;}
}