ShortenParameterType merged into GetResourceName.