void () { final Collection<? extends PsiType> suggestedTypes = suggestTypes("class Foo<T> { Foo(int i) {} Foo() {} }", "Foo<String>::new"); checkWithExpected(suggestedTypes, "java.lang.Runnable", "java.util.concurrent.Callable<Foo<java.lang.String>>", "java.util.function.Function<java.lang.Integer,Foo<java.lang.String>>", "java.util.function.IntConsumer", "java.util.function.IntFunction<Foo<java.lang.String>>", "java.util.function.Supplier<Foo<java.lang.String>>"); }