do not return lambda parameter type as denotable in RefactoringUtil (IDEA-136617)

This commit is contained in:
Anna Kozlova
2015-02-17 14:58:56 +01:00
parent e294ec2192
commit 6482dfe733
8 changed files with 76 additions and 4 deletions
@@ -0,0 +1,16 @@
import java.util.function.Supplier;
class Test {
private void a()
{
b((s) -> {
System.out.println(newMethod((Object) s));
});
}
private boolean newMethod(Object s) {
return s;
}
void b(Supplier s) {}
}