public Java2TypeScriptTranslator(TranspilationHandler logHandler,JSweetContext context,JCCompilationUnit compilationUnit,boolean preserveSourceLineNumbers){
  super(logHandler,context,compilationUnit,new Java2TypeScriptAdapter(context),preserveSourceLineNumbers);
}

public Java2TypeScriptTranslator ( TranspilationHandler logHandler , JSweetContext context , JCCompilationUnit compilationUnit , boolean preserveSourceLineNumbers ) { super ( logHandler , context , compilationUnit , new Java2TypeScriptAdapter ( context ) , preserveSourceLineNumbers ) ; }
creates a new typescript translator .
