Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/trivialFunctionalExpressionUsage/beforeMethodRef.java
2016-01-12 13:45:16 +01:00

10 lines
239 B
Java

// "Replace method call on method reference with corresponding method call" "true"
import java.util.function.Supplier;
class Test {
String s = ((Supplier<String>) this::foo).ge<caret>t();
private String foo() {
return null;
}
}