Recently I have been building a software development lifecycle for Java RhinoJS, enhanced with Typescript backend.
In our product, we have some java classes injected into Rhino, and so I want type defs for when I write unit tests in our Mocha like Rhino framework.
I turn to code-generation, Node.js is actually used to run rhino, and build stuff, its looping through a bunch of .jar files, running
jar tf TicTacToe.jar to get the contents, aka the com.path.to.Class structure in slash format
I do some string transforms to stdout and write all possilbe
java class path
.class files to a ts file.
I got 380000 classes in a