I noticed that NodeSubstitutions are generated to Java-files called "QueriesGenerated.java". The generated methods are then dynamically used, but I do not comprehend where and when these Methods are called. Can anyone point me in the right direction?
My goal is that I can specify specific concepts and Constraints on concepts which are then used to generate a "QueriesGenerated" with e.g. two methods which return a boolean value and are always named the same.
- (boolean) canBeAnnotated(node<> nodeToCheck)
- (boolean) canHaveAlternative(node<> nodeToCheck)
The implementation of these methods should then be dynamically generated from my DSL.
I hope it is understandable what my goal is.