Files
openide/java/java-tests/testData/refactoring/introduceVariable/PutInLambdaBodyVoidValueConflict.java

17 lines
218 B
Java

class Foo {
interface I<T> {
T m(Object op);
}
interface J<T> {
void m(T o);
}
void f(J r) {}
void f(I<String> r) {}
{
f((a) -> <selection>1</selection>);
}
}