TsGenerator { public void generateTs(){ generateTs(targetDir); } TsGenerator(Path targetDir, Collection<Class<? extends FactoryBase<?,R>>> dataClasses, AttributeToTsMapperManager.AttributeToTsMapperManagerCreator<R> attributeInfoMapperCreator);  TsGenerator(Path targetDir, Collection<Class<? extends FactoryBase<?,R>>> dataClasses); void clearTargetDir(); void generateTs(); void generateJs();  }
@Test public void smoketest(@TempDir Path targetDir) { TsGenerator<ExampleData> tsClassCreator=new TsGenerator<>(targetDir, List.of(ExampleData.class, ExampleData2.class, ExampleData3.class, ExampleDataAll.class , ExampleDataIgnore.class, ExampleFactory.class)); tsClassCreator.generateTs(); }