I have the following situation:
1. In my language it is possible to define parameters without providing type information explicitly. The type is inferred using by looking at the type of the initalization value. This works fine.
2. In my code generation these parameters shall be transformed to classes that extend a specific generic class. The type parameter should be the type of the parameter definition from my own language.
I started straight forward by defining a $INSERT$ macro and creating a new base class with a new type parameter node using the specific type information. But when I preview the generated text, I get an error message "broken reference". The target model of the new base class is null. Ok, this seems concequent since I created a new node in the nowhere.
Is there any (elegant) solution for that?
Thank you in advance,