introduce functional parameter from substring

EA-80674 - AIOOBE: IntroduceParameterHandler.introduceStrategy
This commit is contained in:
Anna.Kozlova
2016-03-17 21:25:32 +01:00
parent 5c8090dd02
commit 4ad5c2006c
5 changed files with 59 additions and 26 deletions
@@ -0,0 +1,7 @@
import java.util.function.Supplier;
class Test {
void foo(Supplier<String> anObject) {
System.out.println("a" + anObject.get() + "d");
}
}