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