Avoid boxing of parameters for checkArgument