void () { Collection<? extends PsiType> suggestedTypes = suggestTypes(""" class Foo { public static <T> T fromInt(Integer i) { return null; }}""", "Foo::<String>fromInt"); checkWithExpected(suggestedTypes, "java.util.function.Function<java.lang.Integer,java.lang.String>", "java.util.function.IntConsumer", "java.util.function.IntFunction<java.lang.String>"); }