d7b4e10430
I can't help but over-optimize. We're parsing the result of class.getName(), it will be a bare class name if not in the array. Also: Stop going out of our way to not throw an exception if the input is malformed, as that's the desired result for bad input.