I’ve decoupled the collection of the called functions and the ad-hoc adapter classes generation to allow for a more flexible system.
The post is one in a series of posts I’ve written and only makes sense reading the previous entries maybe starting from the first one.
I had outlined in a previous post that I felt the need to have the
AdapterClassGenerator class generate the ad-hoc adapter classes while the functions themselves where defined in the global context was a constraint and a coupling issue that could be resolved.
I’ve pushed the new solution to GitHub as a work in progress and tested a little.
I will be refactoring the code and tackle the issue of the intended workflow: the pieces are there and I now need to put them in place.