theTemplateDirectory == null  || theTemplateDirectory.indexOf(":") == -1 ? URI.createPlatformResourceURI(theTemplateDirectory).toString() :
theTemplateDirectory != null  && theTemplateDirectory.indexOf(":") == -1 ? URI.createPlatformResourceURI(theTemplateDirectory).toString() :
  protected String [] getTemplatePath()  {    if (templatePath == null)    {      templatePath = new String[2];    }    String theTemplateDirectory = getTemplateDirectory();    templatePath[0] =       theTemplateDirectory == null  || theTemplateDirectory.indexOf(":") == -1 ?         URI.createPlatformResourceURI(theTemplateDirectory).toString() :         theTemplateDirectory;    templatePath[1] =  CodeGenEcorePlugin.INSTANCE.getBaseURL().toString() + "templates";    return templatePath;  }