Haha, nope, `hasParameter` throws an `ArrayIndexOutOfBoundsException` as well :D
It uses `getParameter(argIndex) != null;`, but `getParameter` throws instead of returning `null`. Should I fix that, or catch the exception here? (Note that `getParameter` normally returns the last parameter, so `hasParamete)` would still behave incorrectly in that case.)