IDEX-643. Fixed bug: Formatter does not work.

IDEX-643. Fixed bug (Formatter does not work) - added creation of the FormatController. Structure 'if - else if' redesigned on the structure 'switch' in the JavaParserWorkerImpl.