Predicate UselessUpcast::getMinimumArguments

Gets the minimum number of arguments required to call c.

int getMinimumArguments(Callable c)