Sets the locale to be applied when formatting diagnostics and other localized data.
Parameters:
locale
null
Exceptions:
IllegalStateException
Diagram: Tool