This is an auto-generated question from the MPS Slack community:
Hey, I have a root component A which has B as a child (B has a TextGen aspect and can also be a root, but isn't in this instance). I would like to generate (Java) code for A and use the text file generated by B within the Java code for A. How could I go about that?
I found this comment here https://mps-support.jetbrains.com/hc/en-us/community/posts/115000539884/comments/360000103079
by a user named 'Nandha', but I don't know how to obtain B's `SNode` within the java class generation template of A.