switch (theTargetLanguage) {
case NoGeneration:
throw new AnalystCodeGenerationError(
"No target language has been specified for code generation.");
case Java:
this.generator = new GenerateEncogJava();
break;
case CSharp:
this.generator = new GenerateCS();
break;
case MQL4: