blob: a1f002b876fe1582626e5b44e9c2f649b935e535 [file] [log] [blame]
public class Util {
public static <T,V> List<V> map(@NotNull Function<T, V> mapping) { }
public Object[] getVariants() {
return map(new Function<Object, ArrayIndexOutOfBoundsException<caret>>() { }
}
}
interface Function<Param, Result> {
Result fun(Param param);
}