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