I recommend removing "For" in this function name. It's not intuitive, and "getDataType" would be expected.