private constructors for generated classes
Yanlin Wang
huohuohuomumu at gmail.com
Tue Apr 14 07:53:44 UTC 2015
I noticed that when using Truffle, constructors for generated classes are private by default.
For example, in the “mumbler” tutorial (http://cesquivias.github.io/blog/2014/12/02/writing-a-language-in-truffle-part-2-using-truffle-and-graal/#installing-graal--truffle), the generated class DefineNodeGen has a private constructor.
But for for some special experiments, I want to use these constructors directly. Is there any way (truffle annotations) I can use to make these constructors public? Thanks :)
Regards,
Grace
More information about the graal-dev
mailing list