New options to control generation in a finer way #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, first of all thanks a lot for your great tool, it has been tremendously useful for my project, where we also need to generate Typescript definition files from Java code to use with GraalJS.
Our needs were a bit different, we wanted to be able to generate a minimal API, to avoid exposing too many classes and methods to the Javascript engine. So I modified the project to add options that would make it easier to control how the generation works. I have also fixed a small bug where in the blacklist if you added a string such as "javax.servlet.HttpServlet" it would also blacklist "javax.servlet.HttpServletRequest", "javax.http.HttpServletRequestWrapper" and any other classes that contained the blacklist string. I changed to use regular expressions as I have done with all the new options I have added.
I have updated the README to document all the new options.
I hope you will find these improvements useful.
Regards,
Serge...