Files
openide/java/java-tests/testData/refactoring/introduceVariable/MethodRefNotInContextInferredNonExact.after.java

10 lines
135 B
Java

@FunctionalInterface
interface I<T> {
T foo(T t);
}
class Foo {
void test() {
I<String> l = String::toLowerCase;
}
}