@Inject Constructor modifier

10 views
Skip to first unread message

Alex M

unread,
Feb 1, 2016, 11:54:49 AM2/1/16
to treehugger-scala
Guys, how can I add a Guice "Inject()" constructor modifier?

I see that 

CLASSDEF(className) withAnnots(ANNOT("Singleton")) withCtorFlags("Inject()") withParams(....)

would I need to extend and create a custom modifier class? Is there an example to do this anywhere?


Thank you

Alex M

unread,
Feb 1, 2016, 1:18:31 PM2/1/16
to treehugger-scala
Or how can I add a custom modifier to the DSL? What's the workflow?
Reply all
Reply to author
Forward
0 new messages